Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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' );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement