Skip to content

Instantly share code, notes, and snippets.

@sthembi
Created March 23, 2014 20:49
Show Gist options
  • Save sthembi/9729600 to your computer and use it in GitHub Desktop.
Save sthembi/9729600 to your computer and use it in GitHub Desktop.
Remove WooCommerce version generator
function my_woocommerce_loaded_function() {
global $woocommerce;
remove_action( 'wp_head', 'wc_generator_tag' );
}
add_action( 'woocommerce_init', 'my_woocommerce_loaded_function' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment