WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Купить персональные IPV4 и IPV6 прокси
фильтр не описан

is_email хук-фильтр . WP 2.8.0

Filters whether an email address is valid.

This filter is evaluated under several different contexts, such as 'email_too_short', 'email_no_at', 'local_invalid_chars', 'domain_period_sequence', 'domain_period_limits', 'domain_no_periods', 'sub_hyphen_limits', 'sub_invalid_chars', or no specific context.

Использование

add_filter( 'is_email', 'filter_function_name_5505', 10, 3 );
function filter_function_name_5505( $is_email, $email, $context ){
	// filter...

	return $is_email;
}
$is_email(true/false)
Whether the email address has passed the is_email() checks.
По умолчанию: false
$email(строка)
The email address being checked.
$context(строка)
Context under which the email was tested.

Список изменений

С версии 2.8.0 Введена.

Где вызывается хук

is_email()
is_email
wp-includes/formatting.php 3285
return apply_filters( 'is_email', false, $email, 'email_too_short' );
wp-includes/formatting.php 3291
return apply_filters( 'is_email', false, $email, 'email_no_at' );
wp-includes/formatting.php 3301
return apply_filters( 'is_email', false, $email, 'local_invalid_chars' );
wp-includes/formatting.php 3308
return apply_filters( 'is_email', false, $email, 'domain_period_sequence' );
wp-includes/formatting.php 3314
return apply_filters( 'is_email', false, $email, 'domain_period_limits' );
wp-includes/formatting.php 3323
return apply_filters( 'is_email', false, $email, 'domain_no_periods' );
wp-includes/formatting.php 3331
return apply_filters( 'is_email', false, $email, 'sub_hyphen_limits' );
wp-includes/formatting.php 3337
return apply_filters( 'is_email', false, $email, 'sub_invalid_chars' );
wp-includes/formatting.php 3343
return apply_filters( 'is_email', $email, $email, null );

Где используется хук (в ядре WP)

Использование не найдено.