Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/**
* Filter the step value for min and max values
*/
function prefix_min_max_val_step( $step, $item ) {
return 0.01;
}
add_filter( 'pewc_min_max_val_step', 'prefix_min_max_val_step', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment