woocommerce_search

The WooCommerce Predictive Search LITE woocommerce search shortcode.


Usage

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

Defined (1)

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

/admin/wc-predictive-search-init.php  
  1.  
  2. // Registry widget 
  3.  
  4. // Add shortcode [woocommerce_search] 
  5. add_shortcode('woocommerce_search', array('WC_Predictive_Search_Shortcodes', 'parse_shortcode_search_result')); 
  6.  
  7.  
  8. // Check upgrade functions 
  9. function woo_ps_lite_upgrade_plugin() {