Fires after site signup information has been written to the database.


do_action( 'after_signup_site', (string) $domain, (string) $path, (string) $title, (string) $user, (string) $user_email, (string) $key, (array) $meta ); 

Parameters (7)

0. $domain (string)
The requested domain.
1. $path (string)
The requested path.
2. $title (string)
The requested site title.
3. $user (string)
The user's requested login name.
4. $user_email (string)
The user's email address.
5. $key (string)
The user's activation key
6. $meta (array)
By default, contains the requested privacy setting and lang_id.


To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'after_signup_site', $domain, $path, $title, $user, $user_email, $key, $meta ); 
The following example is for adding a hook callback.
  1. // define the after_signup_site callback 
  2. function action_after_signup_site( $domain, $path, $title, $user, $user_email, $key, $meta ) { 
  3. // make action magic happen here... 
  4. }; 
  6. // add the action 
  7. add_action( 'after_signup_site', 'action_after_signup_site', 10, 7 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'after_signup_site', 'action_after_signup_site', 10, 7 ); 

Defined (1)

The action is defined in the following location(s).

  1. do_action( 'after_signup_site', $domain, $path, $title, $user, $user_email, $key, $meta );