wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



send_new_site_email › WordPress Filter Hooks

Da5.6.0
Deprecaton/a
› apply_filters( 'send_new_site_email', true, $site, $user )
Parametri: (3)
  • () send Whether to send the email.
    Richiesto: Sì
  • () site Site object of the new site.
    Richiesto: Sì
  • () user User object of the administrator of the new site.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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