woocommerce_brands_list_numbers

woocommerce_brands_list_numbers

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.9.5

apply_filters('woocommerce_brands_list_numbers') is found 1 times:

  • /includes/class-wc-brands.php line 568
    		$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' );
    
    		/**
    		 * Check for empty brands and remove them from the list.
    		 */
    		if ( ! $show_empty_brands ) {
    			$terms = $this->remove_terms_with_empty_products( $terms );