after_signup_user WordPress Action Hook

After a user signs up for a Wordpress site, the after_signup_user hook is called. This hook is used to perform any actions that need to happen after a user signs up. For example, you could use this hook to send a welcome email to the new user.

do_action( 'after_signup_user', string $user, string $user_email, string $key, array $meta ) #

Fires after a user’s signup information has been written to the database.


Parameters

$user

(string)The user's requested login name.

$user_email

(string)The user's email address.

$key

(string)The user's activation key.

$meta

(array)Signup meta data. Default empty array.


Top ↑

Source

File: wp-includes/ms-functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

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