Skip to content

Instantly share code, notes, and snippets.

@dr5hn
Created October 15, 2017 08:07
Show Gist options
  • Save dr5hn/7745f3efc62225c94a59a57d14798250 to your computer and use it in GitHub Desktop.
Save dr5hn/7745f3efc62225c94a59a57d14798250 to your computer and use it in GitHub Desktop.
Removing WooCommerce Shop Section Breadcrumbs
<?php
//Removing the Breadcrumbs -- By Darshan Gada
add_action('init','fila_remove_wc_breadcrumbs');
function fila_remove_wc_breadcrumbs() {
remove_action('woocommerce_before_main_content','woocommerce_breadcrumb',20,0);
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment