Skip to content

Instantly share code, notes, and snippets.

@stuartduff
Created September 4, 2012 09:49
Show Gist options
  • Save stuartduff/3619279 to your computer and use it in GitHub Desktop.
Save stuartduff/3619279 to your computer and use it in GitHub Desktop.
Remove WooCommerce Meta Header Generator
add_action('init', 'wooninja_remove_meta_wc_generator');
function wooninja_remove_meta_wc_generator() {
global $woocommerce;
remove_action( 'wp_head', array(&$woocommerce, 'generator') );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment