- This topic has 3 replies, 3 voices, and was last updated 13 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › PHP function reference for Latest Products
Tagged: do_shortcode(), estore, shortcode
I got the shortcode for latest added products:
[wp_eStore_latest_products number=5 style=1]
…but what is the PHP function reference for this shortcode?
Thanks for the help:)
<?php echo eStore_show_latest_products_list(5,1); ?>
Displays the last 5 recently added products on a post or page using fancy display 1. You can modifiy the first parameter (5) to specify how many products to display. You can also modify the second parameter (1) to change the fancy display.
I will add it in the PDF file.
Perfect. Thank you so much:)
You can using do_shortcode() to write directly your shortcode:
<?php echo (do_shortcode('[wp_eStore_latest_products number=5 style=1]')); ?>
Function Reference/do shortcode