WordPress at a glance
filter is not described

signup_blog_init filter-hook . WP 3.0.0

Filters the default site creation variables for the site sign-up form.


add_filter( 'signup_blog_init', 'filter_function_name_5061' );
function filter_function_name_5061( $signup_blog_defaults ){
	// filter...

	return $signup_blog_defaults;

An array of default site creation variables.

  • $user_name (string)
    The user username.

  • $user_email (string)
    The user email address.

  • $blogname (string)
    The blogname.

  • $blog_title (string)
    The title of the site.

  • $errors (WP_Error)
    A WP_Error object with possible errors relevant to new site creation variables.


Since 3.0.0 Introduced.

Where the hook is called

wp-signup.php 724
$filtered_results = apply_filters( 'signup_blog_init', $signup_blog_defaults );

Where in WP core the hook is used

Usage not found!