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)
  • (bool) $send Whether to send the email.
    Richiesto:
  • (WP_Site) $site Site object of the new site.
    Richiesto:
  • (WP_User) $user User object of the administrator of the new site.
    Richiesto:
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 ) ) {