Created
June 13, 2019 08:53
-
-
Save plugin-republic/60e00e80f648b10dc09d4154871cc3a8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
// Add this if you want to prevent non-required number fields from validating min or max values | |
add_filter( 'pewc_only_validate_number_field_value_if_field_required', '__return_true' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment