Advertisement
nshelper

WPGlobaCart - Disable the global product search when manually add new order

Sep 23rd, 2024
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | None | 0 0
  1. <?php
  2.  
  3.     add_action('plugins_loaded',  '_custom_plugins_loaded' );
  4.     function _custom_plugins_loaded()
  5.         {
  6.             global $WooGC;
  7.            
  8.             $WooGC->functions->remove_class_action( 'woocommerce_json_search_found_products', 'WooGC_Admin', 'woocommerce_json_search_found_products' );
  9.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement