Created
November 28, 2014 06:35
-
-
Save pasadamedia/47ece19f65e8a9447248 to your computer and use it in GitHub Desktop.
Remove WooCommerce breadcrumbs.
This file contains hidden or 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
/** | |
* Remove WooCommerce breadcrumbs. | |
* | |
*/ | |
function pasada_remove_wc_breadcrumbs() { | |
remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0 ); | |
} | |
add_action( 'get_header', 'pasada_remove_wc_breadcrumbs' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment