Created
July 18, 2022 10:47
-
-
Save texe/18ecc12805a86f0641ba22ec7cbda63c to your computer and use it in GitHub Desktop.
WordPress - change meta generator value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Remove meta generator tag | |
function no_generator() { return '<meta name="generator" content="FrontPage 4.0">'; } | |
add_filter( 'the_generator', 'no_generator' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment