WordPress tutorials: Remove generator from head

Wpsnipp – When a site running WordPress loads there’s quite a lot of code in the <head> that some would argue is useless information. The most publicised of these is the WordPress Generator version information which lists that you are using WordPress and the version number.Adding this code to the functions.php will remove the generator from the head of your wordpress blog.

 

 

remove_action('wp_head', 'wp_generator');

 

<meta name="generator" content="WordPress 3.0" />

Be Sociable, Share!

Leave a comment