signup_blogform
Action HookDescription
Fires after the site sign-up form.Hook Information
File Location |
wp-signup.php
View on GitHub
|
Hook Type | Action |
Line Number | 243 |
Hook Parameters
Type | Name | Description |
---|---|---|
WP_Error
|
$errors
|
A WP_Error object possibly containing 'blogname' or 'blog_title' errors. |
Usage Examples
Basic Usage
<?php
// Hook into signup_blogform
add_action('signup_blogform', 'my_custom_function', 10, 1);
function my_custom_function($errors) {
// Your custom code here
}
Source Code Context
wp-signup.php:243
- How this hook is used in WordPress core
<?php
238 *
239 * @since 3.0.0
240 *
241 * @param WP_Error $errors A WP_Error object possibly containing 'blogname' or 'blog_title' errors.
242 */
243 do_action( 'signup_blogform', $errors );
244 }
245
246 /**
247 * Validates the new site sign-up.
248 *
PHP Documentation
<?php
/**
* Fires after the site sign-up form.
*
* @since 3.0.0
*
* @param WP_Error $errors A WP_Error object possibly containing 'blogname' or 'blog_title' errors.
*/
Quick Info
- Hook Type: Action
- Parameters: 1
- File: wp-signup.php
Related Hooks
Related hooks will be displayed here in future updates.