Remove the breadcrumbs

If you want to remove the breadcrumbs, here is the quick snippet to help you remove woocommerce breadcrumbs from your pages:

add_action( ‘init’, ‘remove_wc_breadcrumbs’ );
function remove_wc_breadcrumbs() {
   remove_action( ‘woocommerce_before_main_content’, ‘woocommerce_breadcrumb’, 20, 0 );
}
See also  How to Change WooCommerce Order Received Thank You Text

Leave a Reply

Your email address will not be published. Required fields are marked *