wordpress snippets last updated   : April 14, 2014
we now have 630 snippets

Replace the generator meta

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will replace the meta tag with your own custom meta details.

snippet :  PHPcopy
// Replace the WordPress Generator
function change_generators() { return '<meta name="generator" content="WordPress 9.0" />'; }
add_filter( 'the_generator', 'change_generators' );

jqsnipp.com | we just launched jquery snippets website