wpcf7_is_email()
Checks whether the given text is a well-formed email address.
Хуки из функции
Возвращает
null
. Ничего.
Использование
wpcf7_is_email( $text );
- $text (обязательный)
- -
Код wpcf7_is_email() wpcf7 is email CF7 5.7.5.1
function wpcf7_is_email( $text ) { $result = is_email( $text ); return apply_filters( 'wpcf7_is_email', $result, $text ); }