Created
June 24, 2013 10:12
-
-
Save jameskoster/5849086 to your computer and use it in GitHub Desktop.
WooCommerce - remove breadcrumbs
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
add_action( 'init', 'jk_remove_wc_breadcrumbs' ); | |
function jk_remove_wc_breadcrumbs() { | |
remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
+1 to find a solution to this please. using the
add_filter( 'woocommerce_get_breadcrumb', '__return_false' );
throws errors in other parts of woo unfortunately.