wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_new_user_notification_email_admin › WordPress Filter Hooks

Seit4.9.0
Veraltetn/v
apply_filters( 'wp_new_user_notification_email_admin', $wp_new_user_notification_email_admin, $user, $blogname )
Parameter: (3)
  • (array) $wp_new_user_notification_email_admin { Used to build wp_mail(). @type string $to The intended recipient - site admin email address. @type string $subject The subject of the email. @type string $message The body of the email. @type string $headers The headers of the email. }
    Erforderlich: Ja
  • (WP_User) $user User object for new user.
    Erforderlich: Ja
  • (string) $blogname The site title.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the contents of the new user notification email sent to the site admin.





Quellcode

$wp_new_user_notification_email_admin = apply_filters( 'wp_new_user_notification_email_admin', $wp_new_user_notification_email_admin, $user, $blogname );