Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
//Remove WordPress Generator Meta Tag as a obscurity measure
remove_action('wp_head', 'wp_generator');
// Remove it from your RSS feeds
function remove_generator_version_rss() {
return '';
add_filter('the_generator', 'remove_generator_version_rss');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.