after_signup_site WordPress Action Hook
After a user signs up for a WordPress site, they are typically redirected to the home page. However, with the after_signup_site hook, you can redirect the user to any page on the site. This is useful for directing the user to a page with more information about the site, or for directing the user to a page where they can set up their profile.
do_action( 'after_signup_site', string $domain , string $path , string $title , string $user , string $user_email , string $key , array $meta ) #
Fires after site signup information has been written to the database.
Parameters
- $domain
(string)The requested domain.
- $path
(string)The requested path.
- $title
(string)The requested site title.
- $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. By default, contains the requested privacy setting and lang_id.
Source
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |