How to Dequeue All WordPress Assets
I want to dequeue all styles and scripts that are loaded on the front-end (EG. not the admin panel) by default.
I found this function, but am not sure how to utilize it to accomplish my goal.
I'm seeing a ton of assets that I don't need on the front end, loaded by WP core:
For example:
- backbone.js
- jquery UI
- jquery UI datepicker
- 5 different mediaelement assets (js + css)
- underscore.js
- wp-embed js
- wp-util js
Topic backbone underscore core-modifications core plugins Wordpress
Category Web