signup_blogform
Fires after the site sign-up form.
Description
Parameters (1)
- 0. $errors (WP_Error)
- A
WP_Error
object possibly containing blogname or blog_title errors.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'signup_blogform', $errors );
- The following example is for adding a hook callback.
- // define the signup_blogform callback
- function action_signup_blogform( $errors ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'signup_blogform', 'action_signup_blogform', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'signup_blogform', 'action_signup_blogform', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /wp-signup.php
- do_action( 'signup_blogform', $errors );