Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wpmu validate blog signup

This page is marked as incomplete. You can help Codex by expanding it.


Processes new site registrations.

Checks the data provided by the user during blog signup. Verifies the validity and uniqueness of blog paths and domains.


<?php wpmu_validate_blog_signup($blogname$blog_title$user); ?>


(string) (required) The blog name provided by the user. Must be unique.
Default: None
(string) (required) The blog title provided by the user.
Default: None
(string) (optional) Provide the other user's login name to override the restriction to block blog names equivalent to another user's login name.
Default: empty string

Return Value

Contains the new site data and error messages.



  • This function prevents the current user from registering a new site with a blogname equivalent to another user's login name. Passing the $user parameter to the function, where $user is the other user, is effectively an override of this limitation.
  • Filter 'wpmu_validate_blog_signup' if you want to modify the way that WordPress validates new site signups.

Change Log

Since: MU

Source File

wpmu_validate_blog_signup() is located in wp-includes/ms-functions.php


wpmu_signup_blog(), wpmu_signup_blog_notification()

See also index of Function Reference and index of Template Tags.