How To Remove Javascript Files From A Wordpress Theme

2 years ago

How do you go about removing unwanted Javascript files that are being loaded outside of your Wordpress template? In this video, I'll show you how to firstly figure out what the script handle is, then how to dequeue the selected Javascript file.

My website
https://www.pixelrocket.store

How to print out all scripts
https://gist.github.com/omurphy27/d63222e4940c3afa9d8afd10d9375df4

wp_dequeue_script
https://developer.wordpress.org/reference/functions/wp_dequeue_script/

Loading comments...