Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/**
* Filter the step value for number fields in conditions
*/
function tester_condition_value_step( $step, $field_id ) {
return 0.01;
}
add_filter( 'pewc_condition_value_step', 'tester_condition_value_step', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment