Send customers to a different place on your site (or to an external address) when they click the “home” button link in the breadcrumb. You can also rename this link using another code snippet: Rename “home” in breadcrumb
/**
* Redirect the home link URL in the breadcrumb
*/
add_filter('woocommerce_breadcrumb_home_url', 'cc_custom_breadrumb_home_url');
function cc_custom_breadrumb_home_url() {
return 'https://classiccommerce.cc';
}
View Raw
Code ID: 91052