woocommerce_price_filter_widget_max_amount

woocommerce_price_filter_widget_max_amount

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_price_filter_widget_max_amount') is found 1 times:

  • /includes/widgets/class-wc-widget-price-filter.php line 108
    			}
    		}
    
    		$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;
    		}