Created
February 17, 2017 14:23
-
-
Save sander1/c8dd59792597bed18cbe1d14604ff369 to your computer and use it in GitHub Desktop.
WordPress: Cleanup Head Tag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove_action('wp_head', 'rsd_link'); | |
remove_action('wp_head', 'wlwmanifest_link'); | |
remove_action('wp_head', 'wp_generator'); | |
remove_action('wp_head', 'wp_shortlink_wp_head'); | |
remove_action('wp_head', 'feed_links', 2); | |
remove_action('wp_head', 'feed_links_extra', 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment