Created
April 16, 2017 20:50
-
-
Save douglasanro/d30097faec3c33378725007fc8f1153f to your computer and use it in GitHub Desktop.
Remove WordPress version from header
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 WordPress version from header | |
* ------------------------------------------------------------------------- */ | |
function simple_remove_version_info() { | |
return ''; | |
} | |
add_filter( 'the_generator', 'simple_remove_version_info' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment