Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
[Frontend Snippets][Customize the WooCommerce breadcrumb] Remove breadcrumbs on WooCommerce pages (Woo developed themes)
* Remove breadcrumbs on specific pages
add_action( 'init', 'wcc_remove_woo_wc_breadcrumbs' );
function wcc_remove_woo_wc_breadcrumbs() {
if ( is_woocommerce() || is_cart() || is_checkout() ) {
remove_action( 'woo_main_before', 'woo_display_breadcrumbs', 10 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment