Skip to content

Instantly share code, notes, and snippets.

@texe
Last active July 18, 2022 10:46
Show Gist options
  • Save texe/352dacf386c7f3b2d942d79172a2b0c7 to your computer and use it in GitHub Desktop.
Save texe/352dacf386c7f3b2d942d79172a2b0c7 to your computer and use it in GitHub Desktop.
WordPress - Remove meta generator tag
// Remove meta generator tag
function no_generator() { return ''; }
add_filter( 'the_generator', 'no_generator' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment