Menü schliessen
Created: May 16th 2025
Last updated: May 16th 2025
Categories: Common Web Development,  IT Development,  JavaScript Development,  Wordpress
Author: Tim Fürer

WordPress: Remove jQuery from Frontend

Tags:  jQuery,  PHP,  wordpress

By default, WordPress enqueues its version of jQuery into the frontend. If you'd like to remove that version of jQuery (perhaps because you'd like to enqueue your own), you can do so using the following script (you can add it to your functions.php, for example):

add_action('wp_enqueue_scripts', function() {
  wp_deregister_script('jquery');
});