Skip to main content
Home / Code Snippets / WordPress / Remove WP Generator Meta Tag

Remove WP Generator Meta Tag

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