Created
December 20, 2015 02:29
-
-
Save juancarloscruzd/babce63d94716483a268 to your computer and use it in GitHub Desktop.
Remove unnecessary tags that Wordpress insert in header
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
<?php | |
remove_action( 'wp_head', 'wp_generator' ); | |
remove_action( 'wp_head', 'rsd_link' ); | |
remove_action( 'wp_head', 'wlwmanifest_link' ); | |
remove_action( 'wp_head', 'start_post_rel_link' ); | |
remove_action( 'wp_head', 'index_rel_link' ); | |
remove_action( 'wp_head', 'wp_shortlink_wp_head' ); | |
remove_action( 'wp_head', 'adjacent_posts_rel_link' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment