apply_filters( 'wp_send_new_user_notification_to_admin', bool $send , WP_User $user )
Filters whether the admin is notified of a new user registration.
Parameters
- $send
-
Whether to send the email. Default true.
- $user
-
User object for new user.
Source
Changelog
Version | Description |
---|---|
6.1.0 | Introduced. |