aiproductcat

[aiproductcat] shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[aiproductcat]'); 
  1. // variable usage 
  2. $result = do_shortcode('[aiproductcat]'); 
  3. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/include/frontend.inc.php  
  1. </form>'; 
  2. return $search; 
  3.  
  4. /** [aiproductcat] shortcode */ 
  5. add_shortcode( 'aiproductcat', 'aiwoo_shortcode_productcat' ); 
  6. function aiwoo_shortcode_productcat( $atts, $content = null ) { 
  7. global $woocommerce, $wp_query, $post;  
  8. $atts = shortcode_atts(array( 
  9. "show_count" => 0,  
  10. "hierarchical" => 0,