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.
}$domainstringDomain for the site.$pathstringPath for the site. Used in subdirectory installations.$blognamestringThe unique site name (slug).$blog_titlestringSite title.$userstring|WP_UserBy default, an empty string. A user object if provided.$errorsWP_ErrorWP_Error containing any errors found.
Where this hook fires · 1
wp-includes/ms-functions.php:784wpmu_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.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.9.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.