woocommerce_layered_nav_any_label

woocommerce_layered_nav_any_label

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_layered_nav_any_label') is found 1 times:

  • /includes/widgets/class-wc-widget-layered-nav.php line 250
    			$taxonomy_filter_name = wc_attribute_taxonomy_slug( $taxonomy );
    			$taxonomy_label       = wc_attribute_label( $taxonomy );
    
    			/* translators: %s: taxonomy name */
    			$any_label      = apply_filters( 'woocommerce_layered_nav_any_label', sprintf( __( 'Any %s', 'woocommerce' ), $taxonomy_label ), $taxonomy_label, $taxonomy );
    			$multiple       = 'or' === $query_type;
    			$current_values = isset( $_chosen_attributes[ $taxonomy ]['terms'] ) ? $_chosen_attributes[ $taxonomy ]['terms'] : array();
    
    			if ( '' === get_option( 'permalink_structure' ) ) {
    				$form_action = remove_query_arg( array( 'page', 'paged' ), add_query_arg( $wp->query_string, '', home_url( $wp->request ) ) );
    			} else {