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.


Top ↑

Source

File: wp-includes/ms-functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
MU (3.0.0)Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More