How To Remove jQuery Migrate From WordPress
Do you want to Remove jQuery Migrate from WordPress ? Just to support older vesrion of jQuery files of un-updated themes and plugins WordPress load jquery-migrate.min.js . Almost Of the themes and plugin are not using these files any more .
Simply loading a file without any reason is not fissionable . So many people suggested to increase speed should remove these file .It will affect website total loading time . But if it is creating issue with your website please avoid these things .
How to remove jQuery migrate from WordPress?
There are mostly 2 ways to perform this option
- By using Plugins
- Without Using Plugins
So lets get strated with out first method
1 By using Plugin Remove jQuery Migrate By


2nd Method Without Plugin By using function.php
You just need to paste below mentioned code inside your function.php file to disable this jquery file
function gomahamaya_remove_jquery_migrate( &$scripts) {
if(!is_admin()) {
$scripts->remove( 'jquery');
$scripts->add( 'jquery', false, array( 'jquery-core' ), '1.12.4' );
}
}
add_filter( 'wp_default_scripts', 'gomahamaya_remove_jquery_migrate' );
Note – If any of your website content plugins or themes stopped loading then please and please . Don’t disable this File