Remove WP Generator Meta Tag

Avatar of Chris Coyier
Chris Coyier on

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');