Trying to disable HS js script to load it with TagManager
-
Hello,
I wanted to make some adjustments to the way js script is loading
(to load through tag manager with 1500ms delay), but could not remove action.add_action( ‘wp_head’, ‘remove_my_class_action’ );
function remove_my_class_action() {
global $hub_woo;
remove_action( ‘wp_footer’, array( $hub_woo, ‘hubwoo_add_hs_script’));
}
$hub_woo is null. Tried diffent solutions ??
The exact action is Hubwoo_Public->hubwoo_add_hs_script() and action_add is in Hubwoo class – so it gets me confused how to address this action.Please help with that
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Trying to disable HS js script to load it with TagManager’ is closed to new replies.