Function: show_user_form

show_user_form( string $user_name, string $user_email, WP_Error | string $errors )

Display user registration form


Name Type(s) Default Value Description
$user_name string ''

The entered username.

$user_email string ''

The entered email address.

$errors WP_Error | string ''

A WP_Error object containing existing errors. Defaults to empty string.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.