skip to Main Content

Remove Woo Shop Page from Breadcrumbs

function myprefix_breadcrumbs_trail( $trail ) {

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

    // Return trail
    return $trail;

}
add_filter( 'wpex_breadcrumbs_trail', 'myprefix_breadcrumbs_trail', 20 );
All PHP snippets should be added via child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)
Back To Top