wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



new_site_email › Filtr WordPress Hooks

Od5.6.0
Przestarzałyn/a
apply_filters( 'new_site_email', $new_site_email, $site, $user )
Parametry: (3)
  • (array) $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. }
    Wymagane: Tak
  • (WP_Site) $site Site object of the new site.
    Wymagane: Tak
  • (WP_User) $user User object of the administrator of the new site.
    Wymagane: Tak
Zdefiniowane na:
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().





Źródło

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