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 bool
Whether to send the email. Default true.
$user WP_User
User object for new user.

Top ↑

Source

File: wp-includes/pluggable.php. View all references

$send_notification_to_admin = apply_filters( 'wp_send_new_user_notification_to_admin', true, $user );


Top ↑

Changelog

Changelog
Version Description
6.1.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.