A WordPress-centric search engine for devs and theme authors



wp_new_user_notification_email_admin ›

Since4.9.0
Deprecatedn/a
apply_filters( 'wp_new_user_notification_email_admin', $wp_new_user_notification_email_admin, $user, $blogname )
Parameters: (3)
  • (array) $wp_new_user_notification_email { 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. }
    Required: Yes
  • (WP_User) $user User object for new user.
    Required: Yes
  • (string) $blogname The site title.
    Required: Yes
Defined at:
Codex:

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





Source

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