Advertisement
Aurangajeb

Remove Dokan default map output from shop page

Sep 2nd, 2020
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. // Remove default map output from product loop
  2. add_action('init', function () {
  3. dokan_remove_hook_for_anonymous_class( 'woocommerce_before_shop_loop', 'Dokan_Geolocation_Product_View', 'before_shop_loop', 10 );
  4. });
  5.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement