Skip to content

Instantly share code, notes, and snippets.

@bradleysa
Created April 22, 2022 08:01
Show Gist options
  • Save bradleysa/9b43483124ded62c1e8a6c1bab369687 to your computer and use it in GitHub Desktop.
Save bradleysa/9b43483124ded62c1e8a6c1bab369687 to your computer and use it in GitHub Desktop.
WC: Remove Breadcrumbs
add_action( 'init', 'woo_remove_wc_breadcrumbs' );
function woo_remove_wc_breadcrumbs() {
remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0 );
}
/** https://docs.woocommerce.com/document/customise-the-woocommerce-breadcrumb/ **/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment