Remove breadcrumbs from the checkout page from Storefront in WooCommerce

Remove breadcrumbs from the checkout page from Storefront in WooCommerce on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_action( 'storefront_before_content', 'wc_remove_storefront_breadcrumbs_checkout', 1 );

function wc_remove_storefront_breadcrumbs_checkout() {
   if ( is_checkout() ) {
      remove_action( 'storefront_before_content', 'woocommerce_breadcrumb', 10 );
   }
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.