Skip to content

Instantly share code, notes, and snippets.

@vijujohns
Last active August 29, 2015 14:27
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save vijujohns/5f3cc4214708f58e3f32 to your computer and use it in GitHub Desktop.
code to remove wordpress version from head tags of pages, rss feeds etc http://www.wppicker.com/wordpress-security-remove-version-number-from-meta-generator-rss/
/*remove wordpress version number from front-end pages*/
function remove_version_from_mysite() {
return '';
}
add_filter('the_generator','remove_version_from_mysite');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment