Advertisement
vapvarun

Replace product search with Ajax Search for WooCommerce search for Reign Theme

Feb 12th, 2021
978
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1. //replace product search with Ajax Search for WooCommerce search for Reign Theme
  2.  
  3. add_filter('get_product_search_form', function(){
  4.     return do_shortcode('[wcas-search-form]');
  5. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement