• Resolved renanbessa

    (@renanbessa)


    Hello, I have the function below that disables jquery loading, but with adinserter jquery is still loaded. How do I prevent jquery from loading even with adinserter active?

    function remove_scripts_default_wp() {
    	
        if ( ! is_admin() ) {
            wp_deregister_script('jquery');
        }
    }
    add_action( 'wp_enqueue_scripts', 'remove_scripts_default_wp' );

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Jquery Load’ is closed to new replies.