Custom validation (hook)
-
Hello!
Is there a hook that we can use to do custom validation on email/phone fields?
So, when the email address passes all the validations that this plugin offers, I would like to do another validation in PHP. Is there a hook for something like that?
That hook should provide me data from the form (including the email field) and I want to return “true” or “false” depending on whether the value of that field passed my custom validation or not.
Similar to “woocommerce_after_checkout_validation” hook.
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom validation (hook)’ is closed to new replies.