email_domain_matches()
public static function email_domain_matches( $email_address, $domain='' )
Checks if notification from email is using the site domain.
Since: 2.4.12
Source: common.php:7622
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$email_address | string | Email address to check. | |
$domain | string | '' | Domain to check. |
Returns
bool