validate_blog_form(): array

In this article

Validates the new site sign-up.

Return

array Contains the new site data and error messages.
See wpmu_validate_blog_signup() for details.

Source

function validate_blog_form() {
	$user = '';
	if ( is_user_logged_in() ) {
		$user = wp_get_current_user();
	}

	return wpmu_validate_blog_signup( $_POST['blogname'], $_POST['blog_title'], $user );
}

Changelog

VersionDescription
MU (3.0.0)Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.