Snippets: Remove WordPress Meta Generator Tag

add_filter( 'the_generator', '__return_null' );

Snippet Type: PHP

Posted Under: Other

All PHP snippets should be added via a child theme's functions.php file.