How to specify a class the link in the breadcrumbs?

For example how to add woocommerce <a href="#" class="breadcrumb"></a>

Maybe you can do something with the hook ?
add_filter( 'woocommerce_breadcrumb_defaults', 'jk_woocommerce_breadcrumbs' );
jk_woocommerce_breadcrumbs function() {
return array(
'delimiter' => ' &#47; ',
'wrap_before' => '<nav class="woocommerce-breadcrumb" itemprop="breadcrumb">',
'wrap_after' => '</nav>',
'before' => ",
'after' => ",
'home' => _x( 'Apartment', 'breadcrumb', 'woocommerce' ),
);
}
April 3rd 20 at 18:46
0 answer

Find more questions by tags WordPressWooCommerce