WPDev.one
Core Function
View Source on Trac ↗

wpmu_validate_blog_signup()

wpmu_validate_blog_signup( mixed $blogname, mixed $blog_title, mixed $user = '' )

Processes new site registrations.

Parameters 3 required

Name / Type Description
$blogname
string

The site name provided by the user. Must be unique.

Required
$blog_title
string

The site title provided by the user.

Required
mixed

(WP_User | string) $user Optional. The user object to check against the new site name. Default empty string.

Required

Return Value

(array)
array { Array of domain, path, site name, site title, user and error messages.

Function Information

Since Version
MU (3.0.0)
Source File
wp-includes/ms-functions.php
Advertisement