WordPress at a glance
function is not described

validate_user_form() WP 3.0.0

Validate user signup name and email

No Hooks.

Return

Array. Contains username, email, and error messages.

Usage

validate_user_form();

Changelog

Since 3.0.0 Introduced.

Code of validate_user_form() WP 5.5.1

<?php
function validate_user_form() {
	return wpmu_validate_user_signup( $_POST['user_name'], $_POST['user_email'] );
}