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



send_new_site_email › Les Filtres WordPress

Depuis5.6.0
Dépréciéen/a
› apply_filters( 'send_new_site_email', true, $site, $user )
Paramètres: (3)
  • () send Whether to send the email.
    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 whether to send an email to the Multisite network administrator when a new site is created.

Return false to disable sending the email.




Source

if ( ! apply_filters( 'send_new_site_email', true, $site, $user ) ) {