Skip to main content

In addition to the min. and max. values, we also have the step range in number-fields. You can adjust it with this filter.

In this example we adjust the step range of the price-field.

add_filter('at_set_step_value', 'at_change_step_value', 11, 4);
function at_change_step_value($value, $min, $max, $field) {
	if($field == 'price') {
		return '100';
	}
	
	return $values;
}

Was this article helpful?

1 Star2 Stars3 Stars4 Stars5 Stars
(No Ratings Yet)

Keine Kommentare vorhanden


You have a question or an opinion about this post? Share it with us!

Your email address will not be published. Required fields are marked *

*
*