Created
November 6, 2012 20:19
-
-
Save jasontucker/4027246 to your computer and use it in GitHub Desktop.
Remove generator WordPress version number from pages and feeds
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
| //Simply paste the code snippet below in your functions.php file: | |
| add_filter('the_generator', 'digwp_complete_version_removal'); | |
| function digwp_complete_version_removal() { | |
| return ''; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment