wpmu_validate_blog_signup WordPress Filter Hook
The wpmu_validate_blog_signup hook is used to validate a new blog signup. This hook is called when a user attempts to sign up for a new blog. If the user is not allowed to sign up for the blog, an error will be returned.
apply_filters( 'wpmu_validate_blog_signup', array $result ) #
Filters site details and error messages following registration.
Parameters
- $result
(array)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.
- 'domain'
Source
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |