login_form_{$action} WordPress Action Hook
The login_form_{$action} hook is used to modify the login form for a specific action. This hook can be used to add extra fields to the login form, or to change the order of the fields.
do_action( "login_form_{$action}" ) #
Fires before a specified login form action.
Contents
Description
The dynamic portion of the hook name, $action, refers to the action that brought the visitor to the login form.
Possible hook names include:
login_form_checkemaillogin_form_confirm_admin_emaillogin_form_confirmactionlogin_form_entered_recovery_modelogin_form_loginlogin_form_logoutlogin_form_lostpasswordlogin_form_postpasslogin_form_registerlogin_form_resetpasslogin_form_retrievepasswordlogin_form_rp
Source
File: wp-login.php
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |