Created
April 24, 2023 13:53
-
-
Save PluginRepublicSupport/064c6d07abb9affb7bd3f61bd47ef780 to your computer and use it in GitHub Desktop.
Name your price custom number step
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 parameter in Name Your Price field | |
*/ | |
function prefix_number_field_step( $step, $item ) { | |
return 5; | |
} | |
add_filter( 'pewc_name_your_price_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