wordpress snippets last updated   : September 29, 2014
we now have 639 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' );

Did you like this post? If so please share it with your friends. Thanks!

jqsnipp.com | we just launched jquery snippets website