Remove “Cart” from breadcrumbs WordPress

function my_breadcrumbs_trail( $trail ) {

    // Remove cart from trail
    unset( $trail['cart'] );

    // Return trail
    return $trail;

}
add_filter( 'wpex_breadcrumbs_trail', 'my_breadcrumbs_trail', 20 );
See also  Hide Amount of Items from Add to Cart Message in WooCommerce

Leave a Reply

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