Created
June 13, 2017 20:49
-
-
Save chrisdavidmiles/9ce1d0dfc9e1f72c80676b4c76fe8062 to your computer and use it in GitHub Desktop.
Remove WordPress version number from both header and RSS feeds.
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
function chrisdavidmiles_remove_version() {return '';} | |
add_filter('the_generator', 'chrisdavidmiles_remove_version'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment