Filters the message body of the new user activation email sent to the network administrator.
$domain, $path, $network_id = 1
Sortie :
@param string $msg Email body. @param WP_User $user WP_User instance of the new user. @param string $domain The domain to be checked. @param string $path The path to be checked. @param int $network_id Optional. Network ID. Only relevant on multi-network installations. @return int|null The site ID if the site name exists, null otherwise.
// Utilisation de la fonction domain_exists
$result = domain_exists($domain, $path, $network_id = 1);
if ($result) {
// Votre logique ici
}
Chargement des actualités...