Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: after_signup_user

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
803       * Fires after a user's signup information has been written to the database.
804       *
805       * @since 4.4.0
806       *
807       * @param string $user       The user's requested login name.
808       * @param string $user_email The user's email address.
809       * @param string $key        The user's activation key.
810       * @param array  $meta       Signup meta data. Default empty array.
811       */
812      do_action( 'after_signup_user', $user, $user_email, $key, $meta );
813 }
814
815 /**
816  * Send a confirmation request email to a user when they sign up for a new site. The new site will not become active
817  * until the confirmation link is clicked.
818  *
819  * This is the notification function used when site registration
820  * is enabled.
821  *