Skip to content

Instantly share code, notes, and snippets.

@baczoni
Created April 24, 2012 14:13
Show Gist options
  • Select an option

  • Save baczoni/2480022 to your computer and use it in GitHub Desktop.

Select an option

Save baczoni/2480022 to your computer and use it in GitHub Desktop.
Wordpress: Remove version info from head and feeds
<?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