On this page
apply_filters( 'wp_send_new_user_notification_to_user', bool $send, WP_User $user )
Filters whether the user is notified of their new user registration.
Parameters
$sendbool-
Whether to send the email. Default true.
$userWP_User-
User object for new user.
Source
File: wp-includes/pluggable.php. View all references
$send_notification_to_user = apply_filters( 'wp_send_new_user_notification_to_user', true, $user );
Related
Used By
| Used By | Description |
|---|---|
| wp_new_user_notification() wp-includes/pluggable.php | Emails login credentials to a newly-registered user. |
Changelog
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_send_new_user_notification_to_user