Created
March 23, 2014 20:49
-
-
Save sthembi/9729600 to your computer and use it in GitHub Desktop.
Remove WooCommerce version generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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