woocommerce_breadcrumb_defaults filter-hookWC 1.0

Output the WooCommerce Breadcrumb.

Usage

add_filter( 'woocommerce_breadcrumb_defaults', 'wp_kama_woocommerce_breadcrumb_defaults_filter' );

/**
 * Function for `woocommerce_breadcrumb_defaults` filter-hook.
 * 
 * @param array $args Arguments.
 *
 * @return array
 */
function wp_kama_woocommerce_breadcrumb_defaults_filter( $args ){

	// filter...
	return $args;
}
$args(array)
Arguments.

Where the hook is called

woocommerce_breadcrumb()
woocommerce_breadcrumb_defaults
woocommerce/includes/wc-template-functions.php 2359-2369
apply_filters(
	'woocommerce_breadcrumb_defaults',
	array(
		'delimiter'   => ' / ',
		'wrap_before' => '<nav class="woocommerce-breadcrumb" aria-label="Breadcrumb">',
		'wrap_after'  => '</nav>',
		'before'      => '',
		'after'       => '',
		'home'        => _x( 'Home', 'breadcrumb', 'woocommerce' ),
	)
)

Where the hook is used in WooCommerce

Usage not found.