wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



new_site_email › Les Filtres WordPress

Depuis5.6.0
Dépréciéen/a
› apply_filters( 'new_site_email', $new_site_email, $site, $user )
Paramètres: (3)
  • () new_site_email { Used to build wp_mail(). @type string $to The email address of the recipient. @type string $subject The subject of the email. @type string $message The content of the email. @type string $headers Headers. }
    Requis: Oui
  • () site Site object of the new site.
    Requis: Oui
  • () user User object of the administrator of the new site.
    Requis: Oui
Défini(e) dans:
Codex:

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().




Source

$new_site_email = apply_filters( 'new_site_email', $new_site_email, $site, $user );