W3cubDocs

/WordPress

apply_filters( ‘signup_blog_init’, array $signup_blog_defaults )

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

Parameters

$signup_blog_defaultsarray
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.

Source

$filtered_results = apply_filters( 'signup_blog_init', $signup_blog_defaults );

Changelog

Version Description
3.0.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/signup_blog_init