daily pastebin goal
68%
SHARE
TWEET

FoxyShop: allproducts shortcode

sparkweb Apr 18th, 2014 106 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_shortcode('allproducts', 'my_foxyshop_allproducts_shortcode');
  2. function my_foxyshop_allproducts_shortcode($atts, $content = null) {
  3.         global $foxyshop_category_slug;
  4.  
  5.         ob_start();
  6.         foxyshop_include('all-products-shortcode');
  7.         $write = ob_get_contents();
  8.         ob_end_clean();
  9.         return $write;
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top