Skip to content

Instantly share code, notes, and snippets.

@habibmac
Created June 6, 2012 16:21
Show Gist options
  • Save habibmac/2883028 to your computer and use it in GitHub Desktop.
Save habibmac/2883028 to your computer and use it in GitHub Desktop.
WP: Remove the WordPress Version Info for Security
// 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