Remove unwanted script from WP Header

by

I’ve noticed that WordPress adds tons of unwanted script to the header. I totally get why, but for highly focused themes, I like to remove as much as I can. This decreases page load times, eliminates render-blocking resources, and optimizes the First Link Priority Rule.

Using the script below, add it to your themes function files. Adjust accordingly for WP version + updates:

Leave a Reply

Your email address will not be published. Required fields are marked *


PageLines