W3cubDocs

/WordPress

apply_filters( ‘newuser_notify_siteadmin’, string $msg, WP_User $user )

Filters the message body of the new user activation email sent to the network administrator.

Parameters

$msgstring
Email body.
$userWP_User
WP_User instance of the new user.

Source

$msg = apply_filters( 'newuser_notify_siteadmin', $msg, $user );

Changelog

Version Description
MU (3.0.0) Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/newuser_notify_siteadmin