If you would like to remove the Remove WooCommerce Generator Tag from the <head> section of your WordPress installation, you can add the following line somewhere, perhaps in your wordpress functions.php file:
remove_action('wp_head', array($GLOBALS['woocommerce'],'generator'));
I’ve updated the code to work with the most recent version of Woo Commerce, try adding this to the functions.php file of your WordPress theme:
function remove_woo_commerce_generator_tag()
{
remove_action('wp_head',array($GLOBALS['woocommerce'], 'generator'));
}
add_action('get_header','remove_woo_commerce_generator_tag');
That will prevent the following line from being shown in your HTML code:
<!-- WooCommerce Version -->
<meta name="generator" content="WooCommerce 1.5" />

Not working for WooCommerce 1.5.4, but thanks anyway!
Thanks for letting me know. I’ve updated the code.
Works on 1.6.1.
Thanks!
Nice solution. Similarly you can remove the WP generator tag using:
remove_action(‘wp_head’, ‘wp_generator’);
Thanks! 2.0.3 Work