newuser_notify_siteadmin WordPress Filter Hook

The newuser_notify_siteadmin hook is triggered when a new user is registered on a WordPress site. This hook can be used to send a notification to the site administrator about the new user.

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

$msg

(string)Email body.

$user

(WP_User)WP_User instance of the new user.


Top ↑

Source

File: wp-includes/ms-functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
MU (3.0.0)Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More