wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_new_user_notification_email › WordPress Filter Hooks

Since4.9.0
Deprecatedn/a
apply_filters( 'wp_new_user_notification_email', $wp_new_user_notification_email, $user, $blogname )
Parameters: (3)
  • (array) $wp_new_user_notification_email { Used to build wp_mail(). @type string $to The intended recipient - New user 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 new user.





Source

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