Filters the content of the email sent to the Multisite network administrator when a new site is created. Content should be formatted for transmission via wp_mail().
$new_site_email, $site, $user
Sortie :
@param array $new_site_email {
@param WP_Site $site Site object of the new site.
@param WP_User $user User object of the administrator of the new site.
// Modifier la valeur avec le filtre 'new_site_email'
add_filter('new_site_email', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($new_site_email) {
// Modifier la valeur
return $new_site_email;
}
Chargement des actualités...