woocommerce_price_filter_widget_min_amount

woocommerce_price_filter_widget_min_amount

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_price_filter_widget_min_amount') is found 1 times:

  • /includes/widgets/class-wc-widget-price-filter.php line 107
    				$max_price += WC_Tax::get_tax_total( WC_Tax::calc_exclusive_tax( $max_price, $tax_rates ) );
    			}
    		}
    
    		$min_price = apply_filters( 'woocommerce_price_filter_widget_min_amount', floor( $min_price / $step ) * $step );
    		$max_price = apply_filters( 'woocommerce_price_filter_widget_max_amount', ceil( $max_price / $step ) * $step );
    
    		// If both min and max are equal, we don't need a slider.
    		if ( $min_price === $max_price ) {
    			return;
    		}