Skip to content

Instantly share code, notes, and snippets.

@woogists
Last active May 11, 2018 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woogists/407981dbd55764cedb3d037f4e78f199 to your computer and use it in GitHub Desktop.
Save woogists/407981dbd55764cedb3d037f4e78f199 to your computer and use it in GitHub Desktop.
[Frontend Snippets][Customize the WooCommerce breadcrumb] Remove breadcrumbs in Woo developed themes (excludes Storefront)
/**
* Remove breadcrumbs in Woo developed themes
*/
add_action( 'init', 'woo_remove_woo_breadcrumbs' );
function woo_remove_woo_breadcrumbs() {
remove_action( 'woo_main_before', 'woo_display_breadcrumbs', 10 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment