WC_Validation::is_email()
Validates an email using WordPress native is_email function.
Method of the class: WC_Validation{}
No Hooks.
Return
true|false
.
Usage
$result = WC_Validation::is_email( $email );
- $email(string) (required)
- Email address to validate.
WC_Validation::is_email() WC Validation::is email code WC 9.4.2
public static function is_email( $email ) { return is_email( $email ); }