WooCommerce: Remove Breadcrumbs

if you search about a way to remove breadcrumbs from your WooCommerce store, you must now there were probably a plugin for this, this WordPress code snippet that you can use to remove breadcrumbs in WooCommerce.

This code snippet will let you filter by built-in hook woocommerce_breadcrumb

Steps to remove breadcrumbs on WooCommerce:

  1. Open WordPress admin panel then go to Appearance > Theme Editor
  2. Open theme functions.php file, if you work localhost open the same file using any code editor IDE
  3. Add the following code at the bottom of the file.
  4. Save the changes.
remove_action('woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0);

Did you find the WordPress snippets in this article helpful? Share it with your friends and if you have any questions and want to ask us about it, please don’t hesitate to add comments.

Newsletter Updates

Enter your email address below to subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *