newblog_notify_siteadmin

FUNCTION wp-includes\ms-functions.php (ligne 1451) github
Notifies the network admin that a new site has been activated. Filter {@see 'newblog_notify_siteadmin'} to change the content of the notification email.

Paramètres

Entrée :
$blog_id, $deprecated = ''
Sortie :
@param WP_Site|int $blog_id    The new site's object or ID.
@param string      $deprecated Not used.
@return bool

Utilisation

// Utilisation de la fonction newblog_notify_siteadmin
$result = newblog_notify_siteadmin($blog_id, $deprecated = '');

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...