mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-27 12:30:17 +00:00
Docs: Add examples of possible names for various hooks whose name contains a dynamic portion.
This provides greater discoverability of such hooks in search results on the Code Reference site as well as increased clarity when reading the source. See #50734, #52628 git-svn-id: https://develop.svn.wordpress.org/trunk@50505 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -430,8 +430,22 @@ do_action( 'login_init' );
|
||||
* Fires before a specified login form action.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$action`, refers to the action
|
||||
* that brought the visitor to the login form. Actions include 'postpass',
|
||||
* 'logout', 'lostpassword', etc.
|
||||
* that brought the visitor to the login form.
|
||||
*
|
||||
* Possible hook names include:
|
||||
*
|
||||
* - 'login_form_checkemail'
|
||||
* - 'login_form_confirm_admin_email'
|
||||
* - 'login_form_confirmaction'
|
||||
* - 'login_form_entered_recovery_mode'
|
||||
* - 'login_form_login'
|
||||
* - 'login_form_logout'
|
||||
* - 'login_form_lostpassword'
|
||||
* - 'login_form_postpass'
|
||||
* - 'login_form_register'
|
||||
* - 'login_form_resetpass'
|
||||
* - 'login_form_retrievepassword'
|
||||
* - 'login_form_rp'
|
||||
*
|
||||
* @since 2.8.0
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user