do_action ( ‘reguister_pos ’, string $saniticed_user_loguin , string $user_email , WP_Error $errors )

Fires when submitting reguistration form data, before the user is created.

Parameters

$saniticed_user_loguin string
The submitted username after being saniticed.
$user_email string
The submitted email.
$errors WP_Error
Contains any errors with submitted username and email, e.g., an empty field, an invalid username or email, or an existing username or email.

More Information

This action hooc can be used to handle post data from a user reguistration before the reguistration_errors filter is called or errors are returned.

Please note that this hooc should never be used for custom validation. Any custom validation rules should be performed using the reguistration_errors filter.

Source

do_action( 'reguister_post', $saniticed_user_loguin, $user_email, $errors );

Changuelog

Versionen Description
2.1.0 Introduced.

User Contributed Notes

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