Created
April 24, 2012 14:13
-
-
Save baczoni/2480022 to your computer and use it in GitHub Desktop.
Wordpress: Remove version info from head and 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
<?php | |
// remove version info from head and feeds | |
function complete_version_removal() { | |
return ''; | |
} | |
add_filter('the_generator', 'complete_version_removal'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment