woocommerce_layered_nav_any_label filter-hookWC 1.0

translators: %s: taxonomy name

Usage

add_filter( 'woocommerce_layered_nav_any_label', 'wp_kama_woocommerce_layered_nav_any_label_filter', 10, 3 );

/**
 * Function for `woocommerce_layered_nav_any_label` filter-hook.
 * 
 * @param  $sprintf        
 * @param  $taxonomy_label 
 * @param  $taxonomy       
 *
 * @return 
 */
function wp_kama_woocommerce_layered_nav_any_label_filter( $sprintf, $taxonomy_label, $taxonomy ){

	// filter...
	return $sprintf;
}
$sprintf
-
$taxonomy_label
-
$taxonomy
-

Where the hook is called

WC_Widget_Layered_Nav::layered_nav_dropdown()
woocommerce_layered_nav_any_label
woocommerce/includes/widgets/class-wc-widget-layered-nav.php 250
$any_label      = apply_filters( 'woocommerce_layered_nav_any_label', sprintf( __( 'Any %s', 'woocommerce' ), $taxonomy_label ), $taxonomy_label, $taxonomy );

Where the hook is used in WooCommerce

Usage not found.