do_action( "login_form_{$action}" )
- Since
- 2.8.0
Fires before a specified login form action.
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
Compatibility
- WordPress
- since 2.8.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Where this hook fires · 1
wp-login.php:565file scope
Source code
* - `login_form_resetpass` * - `login_form_retrievepassword` * - `login_form_rp` * * @since 2.8.0 */do_action( "login_form_{$action}" ); $http_post = ( 'POST' === $_SERVER['REQUEST_METHOD'] );$interim_login = isset( $_REQUEST['interim-login'] ); /** * Filters the separator used between login form navigation links.Changelog
Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.