woocommerce_brands_list_alphabet, range( a, z
woocommerce_brands_list_alphabet, range( a, z
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_brands_list_alphabet, range( a, z') is found 1 times:
- /includes/class-wc-brands.php line 627
$product_brands = array(); //phpcs:disable $terms = get_terms( array( 'taxonomy' => 'product_brand', 'hide_empty' => ( $show_empty_brands ? false : true ) ) ); $alphabet = apply_filters( 'woocommerce_brands_list_alphabet', range( 'a', 'z' ) ); $numbers = apply_filters( 'woocommerce_brands_list_numbers', '0-9' ); foreach ( $terms as $term ) { $term_letter = $this->get_brand_name_first_character( $term->name ); // Allow a locale to be set for ctype_alpha().