Notifies the network admin that a new site has been activated. Filter {@see 'newblog_notify_siteadmin'} to change the content of the notification email.
$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 de la fonction newblog_notify_siteadmin
$result = newblog_notify_siteadmin($blog_id, $deprecated = '');
if ($result) {
// Votre logique ici
}
Chargement des actualités...