WC_Validation::is_email()public staticWC 1.0

Validates an email using WordPress native is_email function.

{} It's a 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.

Code of WC_Validation::is_email() WC 6.5.1

public static function is_email( $email ) {
	return is_email( $email );
}