eSnippets.net, a code gallery for creating, saving and sharing all kinds of code snippets.

Remove WP Generator Meta Tag — WordPress

Posted On: Saturday, May 10, 2014 at 9:46 AM

It can be considered a security risk to make your wordpress version visible and public you should hide it.

// Put in functions.php file in your theme:

remove_action('wp_head', 'wp_generator');

You need to be logged in to comment! x

rpjs

Joined on Saturday, May 3, 2014
Contributed 29 Snippets

Get Social and Share

Tags