BACK TO DIRECTORY
Removes jQuery from your frontend theme if no administrator is logged-in. jQuery will continue to work in you backend and when the admin toolbar is visible. Plugins which depend on jQuery will not be loaded either.
This plugin does nothing more but this:
function init_without_jquery() {
if (!is_admin() AND !is_admin_bar_showing()) {
wp_deregister_script('jquery');
wp_register_script('jquery', false);
}
}
add_action('init', 'init_without_jquery');
Plugin Details
Active Installs
100Total Downloads
2,686Version
1.0Requires WP
5.0Requires PHP
—Tested Up To
5.6.19Added
2021-03-09Last Updated
2021-03-09 11:22am GMTRatings
5
1
4
0
3
0
2
0
1
0