Action hook 'signup_finished'

in WP Core File wp-signup.php at line 891

View Source

signup_finished

Action Hook
Description
Shows a message confirming that the new site has been registered and is awaiting activation.

Hook Information

File Location wp-signup.php View on GitHub
Hook Type Action
Line Number 891

Hook Parameters

Type Name Description
string $domain The domain or subdomain of the site.
string $path The path of the site.
string $blog_title The title of the new site.
string $user_name The user's username.
string $user_email The user's email address.
array $meta Any additional meta from the {@see 'add_signup_meta'} filter in validate_blog_signup().

Usage Examples

Basic Usage
<?php
// Hook into signup_finished
add_action('signup_finished', 'my_custom_function', 10, 6);

function my_custom_function($domain, $path, $blog_title, $user_name, $user_email, $meta) {
    // Your custom code here
}

Source Code Context

wp-signup.php:891 - How this hook is used in WordPress core
<?php
 886  		?>
 887  		</li>
 888  	</ul>
 889  	<?php
 890  	/** This action is documented in wp-signup.php */
 891  	do_action( 'signup_finished' );
 892  }
 893  
 894  /**
 895   * Retrieves languages available during the site/user sign-up process.
 896   *

PHP Documentation

<?php
/**
 * Shows a message confirming that the new site has been registered and is awaiting activation.
 *
 * @since MU (3.0.0)
 *
 * @param string $domain     The domain or subdomain of the site.
 * @param string $path       The path of the site.
 * @param string $blog_title The title of the new site.
 * @param string $user_name  The user's username.
 * @param string $user_email The user's email address.
 * @param array  $meta       Any additional meta from the {@see 'add_signup_meta'} filter in validate_blog_signup().
 */
Quick Info
  • Hook Type: Action
  • Parameters: 6
  • File: wp-signup.php
Related Hooks

Related hooks will be displayed here in future updates.