WC_Validation::is_email()public staticWC 1.0

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() code WC 7.7.0

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