Changing delimiter of default woocommerce breadcrumb

  • 0

add_filter( ‘woocommerce_breadcrumb_defaults’, ‘myfun’ );

// function definition

function myfun( $defaults ) {
// Change delimeter as  ‘>’
$defaults[‘delimiter’] = ” > “;
return $defaults;
}

add_filter( ‘woocommerce_breadcrumb_defaults’, ‘myfun’ ); // function definition function myfun( $defaults ) { // Change delimeter as  ‘>’ $defaults[‘delimiter’] = ” > “; return $defaults; }

add_filter( ‘woocommerce_breadcrumb_defaults’, ‘myfun’ ); // function definition function myfun( $defaults ) { // Change delimeter as  ‘>’ $defaults[‘delimiter’] = ” > “; return $defaults; }