wpmu_activate_user WordPress Action Hook

This hook is called when a new user is created, either by self-registration or by an administrator. It allows you to do any necessary initialization for the new user, such as sending a welcome email or creating a user profile.

do_action( 'wpmu_activate_user', int $user_id, string $password, array $meta ) #

Fires immediately after a new user is activated.


Parameters

$user_id

(int)User ID.

$password

(string)User password.

$meta

(array)Signup meta data.


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