WordPress at a glance
filter is not described

wpmu_validate_blog_signup filter-hook . WP 3.0.0

Filters site details and error messages following registration.


add_filter( 'wpmu_validate_blog_signup', 'filter_function_name_8791' );
function filter_function_name_8791( $result ){
	// filter...

	return $result;

Array of domain, path, blog name, blog title, user and error messages.

  • domain(string)
    Domain for the site.

  • path(string)
    Path for the site. Used in subdirectory installations.

  • blogname(string)
    The unique site name (slug).

  • blog_title(string)
    Blog title.

  • user(string/WP_User)
    By default, an empty string. A user object if provided.

  • errors(WP_Error)
    WP_Error containing any errors found.

Список изменений

С версии 3.0.0 Введена.

Где вызывается хук

wp-includes/ms-functions.php 768
return apply_filters( 'wpmu_validate_blog_signup', $result );

Где используется хук в ядре WordPress

wp-includes/ms-default-filters.php 40
add_filter( 'wpmu_validate_blog_signup', 'signup_nonce_check' );