Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Hooks in wp-login.php

WP version: 5.9

Important! Some hooks get applied in multiple files. If you are trying to figure out what a specific hook does, you need to look in all the files that apply the hook. Click the "details" link next to any hook for more information.

Hook Type New? File
1 admin_email_check_interval filter no wp-login.php
2 admin_email_check_interval filter no wp-login.php
3 admin_email_confirm action no wp-login.php
4 admin_email_confirm_form action no wp-login.php
5 admin_email_remind_interval filter no wp-login.php
6 enable_login_autofocus filter no wp-login.php
7 login_body_class filter no wp-login.php
8 login_display_language_dropdown filter YES wp-login.php
9 login_enqueue_scripts action no wp-login.php
10 login_errors filter no wp-login.php
11 login_footer action no wp-login.php
12 login_footer action no wp-login.php
13 login_form action no wp-login.php
14 login_form_{$action} note action no wp-login.php
15 login_head action no wp-login.php
16 login_header action no wp-login.php
17 login_headertext filter no wp-login.php
18 login_headerurl filter no wp-login.php
19 login_init action no wp-login.php
20 login_language_dropdown_args filter YES wp-login.php
21 login_link_separator filter no wp-login.php
22 login_message filter no wp-login.php
23 login_messages filter no wp-login.php
24 login_redirect filter no wp-login.php
25 login_site_html_link filter no wp-login.php
26 login_title filter no wp-login.php
27 logout_redirect filter no wp-login.php
28 lostpassword_form action no wp-login.php
29 lostpassword_redirect filter no wp-login.php
30 lost_password action no wp-login.php
31 post_password_expires filter no wp-login.php
32 register filter no wp-login.php
33 register filter no wp-login.php
34 register filter no wp-login.php
35 register_form action no wp-login.php
36 registration_redirect filter no wp-login.php
37 resetpass_form action no wp-login.php
38 shake_error_codes filter no wp-login.php
39 user_request_action_confirmed action no wp-login.php
40 validate_password_reset action no wp-login.php
41 wp_login_errors filter no wp-login.php
42 wp_login_errors filter no wp-login.php
43 wp_signup_location filter no wp-login.php

Important warning about variable hooks

Some hooks have variables in their names. For example, pre_${taxonomy}_$field and admin_head- both have variable names. In general, any hook that ends (or begins) with - or _, or contains a $, has a variable name. Since the syntax with which these variables are defined may change from version to version, this page may think that a hook is deprecated (or new) even if it is not. You can usually catch this sort of thing by comparing this hook to the list of "related hooks" below.