register_form WordPress Action Hook
The register_form hook is used to display the registration form for a new user. This hook is used to add fields to the form, such as the user's first and last name, or to add extra validation to the form.
do_action( 'register_form' ) #
Fires following the ‘Email’ field in the user registration form.
Contents
More Information
- Use in conjunction with ‘
registration_errors‘ (for validation) and ‘register_post‘ (save extra data) when customizing registration. - WordPress MS Note: For WordPress MS (Multi-Site), use the ‘
signup_header‘ action to redirect users away from the signup.
Source
File: wp-login.php
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |