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



wp_send_new_user_notification_to_user › WordPress Filter Hooks

Since6.1.0
Deprecatedn/a
apply_filters( 'wp_send_new_user_notification_to_user', true, $user )
Parameters: (2)
  • (bool) $send Whether to send the email. Default true.
    Required: Yes
  • (WP_User) $user User object for new user.
    Required: Yes
Defined at:
Codex:

Filters whether the user is notified of their new user registration.





Source

$send_notification_to_user = apply_filters( 'wp_send_new_user_notification_to_user', true, $user );