WordPress Meta Version Removal
November 26th, 2009How to remove <meta name=“generator” content=“WordPress 2.x.x” /> version tag from WordPress?
Locate functions.php ../wp-content/themes/theme_name/functions.php and add:
// No plugin needed, one line and you're done
remove_action('wp_head', 'wp_generator');
The reason why some people want to remove the WordPress meta generator it’s simply to hide the version of the WordPress they are running on. Sure you can do this with the plugin, however since you are only adding one simple line of code to your functions.php why bother with it.
The above will remove the WordPress generator meta tag from header.php file.
That’s all, if you have questions, just go right ahead and ask.
Posted in WordPress | 1 Comment »
