Remove the built-in wordpress jquery

It often happens that certain functions are blocked by the built-in jquery javascript of wordpress.

To remove this, I have created a just turn it on and it works wordpress plugin, or you can use the code snippet itself.

<?php function twd_remove_built_in_jquery() {if (!is_admin()) {wp_deregister_script('jquery');wp_register_script('jquery', false);}} add_action('init', 'twd_remove_built_in_jquery');?>
Copy to Clipboard

Related posts

Got a question? Is something not working? Write and I'll answer!

Leave a Reply

Your email address will not be published. Required fields are marked *

ContactOur Works