is_email_address_unsafe filter-hookWP 3.5.0

Filters whether an email address is unsafe.

Usage

add_filter( 'is_email_address_unsafe', 'wp_kama_is_email_address_unsafe_filter', 10, 2 );

/**
 * Function for `is_email_address_unsafe` filter-hook.
 * 
 * @param bool   $is_email_address_unsafe Whether the email address is "unsafe".
 * @param string $user_email              User email address.
 *
 * @return bool
 */
function wp_kama_is_email_address_unsafe_filter( $is_email_address_unsafe, $user_email ){

	// filter...
	return $is_email_address_unsafe;
}
$is_email_address_unsafe(true|false)
Whether the email address is "unsafe".
Default: false
$user_email(string)
User email address.

Changelog

Since 3.5.0 Introduced.

Where the hook is called

is_email_address_unsafe()
is_email_address_unsafe
wp-includes/ms-functions.php 424
return apply_filters( 'is_email_address_unsafe', $is_email_address_unsafe, $user_email );

Where the hook is used in WordPress

Usage not found.