woocommerce_layered_nav_link filter-hookWC 1.0

Usage

add_filter( 'woocommerce_layered_nav_link', 'wp_kama_woocommerce_layered_nav_link_filter', 10, 3 );

/**
 * Function for `woocommerce_layered_nav_link` filter-hook.
 * 
 * @param  $link     
 * @param  $term     
 * @param  $taxonomy 
 *
 * @return 
 */
function wp_kama_woocommerce_layered_nav_link_filter( $link, $term, $taxonomy ){

	// filter...
	return $link;
}
$link
-
$term
-
$taxonomy
-

Where the hook is called

WC_Widget_Layered_Nav::layered_nav_list()
woocommerce_layered_nav_link
WC_Widget_Brand_Nav::layered_nav_list()
woocommerce_layered_nav_link
woocommerce/includes/widgets/class-wc-widget-layered-nav.php 450
$link      = apply_filters( 'woocommerce_layered_nav_link', $link, $term, $taxonomy );
woocommerce/includes/widgets/class-wc-widget-brand-nav.php 436
echo ( $count > 0 || $option_is_set ) ? '<a href="' . esc_url( apply_filters( 'woocommerce_layered_nav_link', $link ) ) . '">' : '<span>'; // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment

Where the hook is used in WooCommerce

Usage not found.