Created
February 15, 2021 11:55
-
-
Save plugin-republic/17a661a8a7ff3644ca870ec9ede768ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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