Deregister scripts on unnecessary pages using remove_action
An action can be removed in time that pass since it is added to it is fired. So after is added, before is fired. You say the plugin has thiss code: add_action(‘wp_enqueue_scripts’, ‘poll_scripts’); function poll_scripts() { // code } But you don’t say if this code is inside a function hooked somewhere. If it is … Read more