Docs

class EVF_Validation {}

EVF_Validation Class.

Methods

  • format_phone — Format the phone number.
  • is_email — Validates an email using WordPress native is_email function.
  • is_phone — Validates a phone number using a regular expression.