signup_another_blog_init
Filters the default site sign-up variables.
Usage
add_filter( 'signup_another_blog_init', 'wp_kama_signup_another_blog_init_filter' ); /** * Function for `signup_another_blog_init` filter-hook. * * @param array $signup_defaults An array of default site sign-up variables. * * @return array */ function wp_kama_signup_another_blog_init_filter( $signup_defaults ){ // filter... return $signup_defaults; }
- $signup_defaults(array)
An array of default site sign-up variables.
-
blogname(string)
The site blogname. -
blog_title(string)
The site title. - errors(WP_Error)
A WP_Error object possibly containing 'blogname' or 'blog_title' errors.
-
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
signup_another_blog_init
wp-signup.php 358
$filtered_results = apply_filters( 'signup_another_blog_init', $signup_defaults );