Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/**
* Filter the step parameter in Number fields
*/
function prefix_number_field_step( $step, $item ) {
return 1;
}
add_filter( 'pewc_number_field_step', 'prefix_number_field_step', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.