WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/newuser notify siteadmin

This page is marked as incomplete. You can help Codex by expanding it.

Contents

Description

Notifies the network admin that a new user has been activated.

Usage

<?php newuser_notify_siteadmin$user_id ?>

Parameters

$user_id
(integer) (required) The new user ID
Default: None

Return Value

(boolean) 
True on completion of email sent, False if registration notification is 'No' or if malformed user email.

Examples


Notes

Filter 'newuser_notify_siteadmin' to change the content of the notification email. Filter function is passed $msg (the email message text), $user (a WP_User object for the new user)

Change Log

Since: MU

Source File

newuser_notify_siteadmin() is located in wp-includes/ms-functions.php

Related

 

See also index of Function Reference and index of Template Tags.