Created
August 12, 2014 15:23
-
-
Save raulghm/50c6769ecc74cb1ffbe2 to your computer and use it in GitHub Desktop.
[Wordpress] Remove extra head tags
This file contains 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 extra head tags | |
remove_action( 'wp_head', 'feed_links_extra', 3 ); //Extra feeds such as category feeds | |
remove_action( 'wp_head', 'feed_links', 2 ); // General feeds: Post and Comment Feed | |
remove_action ('wp_head', 'rsd_link'); | |
remove_action( 'wp_head', 'wlwmanifest_link'); | |
remove_action( 'wp_head', 'wp_shortlink_wp_head'); | |
remove_action('wp_head', 'wp_generator'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment