Skip to content

Instantly share code, notes, and snippets.

@woogists
Last active October 5, 2022 04:22
Show Gist options
  • Save woogists/bf1726335d19c807dbafecc594e11d42 to your computer and use it in GitHub Desktop.
Save woogists/bf1726335d19c807dbafecc594e11d42 to your computer and use it in GitHub Desktop.
[Frontend Snippets][Customize the WooCommerce breadcrumb] Remove breadcrumbs for Storefront theme
/**
* Remove breadcrumbs for Storefront theme
*/
add_action( 'init', 'wc_remove_storefront_breadcrumbs');
function wc_remove_storefront_breadcrumbs() {
remove_action( 'storefront_before_content', 'woocommerce_breadcrumb', 10 );
}
@eritAZ
Copy link

eritAZ commented Mar 4, 2022

This appears not to work again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment