wppaste
WordPress

apply_filters( 'wpmu_validate_blog_signup', array $result )

Since
MU (3.0.0)
Filters site details and error messages following registration.

Compatibility

WordPress
since MU (3.0.0)
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Parameters

$resultarray
{ Array of domain, path, site name, site title, user and error messages.
@type string $domain Domain for the site.
@type string $path Path for the site. Used in subdirectory installations.
@type string $blogname The unique site name (slug).
@type string $blog_title Site title.
@type string|WP_User $user By default, an empty string. A user object if provided.
@type WP_Error $errors WP_Error containing any errors found.
}
  • $domainstring

    Domain for the site.
  • $pathstring

    Path for the site. Used in subdirectory installations.
  • $blognamestring

    The unique site name (slug).
  • $blog_titlestring

    Site title.
  • $userstring|WP_User

    By default, an empty string. A user object if provided.
  • $errorsWP_Error

    WP_Error containing any errors found.

Where this hook fires · 1

  • wp-includes/ms-functions.php:768wpmu_validate_blog_signup()

Source code

	 *     @type string         $blogname   The unique site name (slug).	 *     @type string         $blog_title Site title.	 *     @type string|WP_User $user       By default, an empty string. A user object if provided.	 *     @type WP_Error       $errors     WP_Error containing any errors found.	 * }	 */	return apply_filters( 'wpmu_validate_blog_signup', $result );} /** * Records site signup information for future activation. * * @since MU (3.0.0)

Changelog

Introduced in MU (3.0.0). Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.