WP hooks navigation: Home/browse • Actions index • Filters index
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 | login_headerurl | filter | no | wp-login.php | |
2 | login_form | action | no | wp-login.php | |
3 | register_form | action | no | wp-login.php | |
4 | lostpassword_form | action | no | wp-login.php | |
5 | lost_password | action | no | wp-login.php | |
6 | login_form_{$action} | note | action | no | wp-login.php |
7 | register_post | action | no | wp-login.php | |
8 | password_reset | action | no | wp-login.php | |
9 | retrieve_password_key | action | no | wp-login.php | |
10 | retrieve_password | action | no | wp-login.php | |
11 | retreive_password | action | no | wp-login.php | |
12 | lostpassword_post | action | no | wp-login.php | |
13 | login_head | action | no | wp-login.php | |
14 | login_redirect | filter | no | wp-login.php | |
15 | registration_errors | filter | no | wp-login.php | |
16 | login_headertitle | filter | no | wp-login.php | |
17 | login_headerurl | filter | no | wp-login.php | |
18 | user_registration_email | filter | no | wp-login.php | |
19 | password_reset_message | filter | no | wp-login.php | |
20 | password_reset_title | filter | no | wp-login.php | |
21 | retrieve_password_message | filter | no | wp-login.php | |
22 | retrieve_password_title | filter | no | wp-login.php | |
23 | allow_password_reset | filter | no | wp-login.php | |
24 | login_messages | filter | no | wp-login.php | |
25 | login_errors | filter | no | wp-login.php | |
26 | login_message | filter | no | wp-login.php | |
27 | login_headertitle | filter | no | wp-login.php | |
28 | shake_error_codes | filter | YES | wp-login.php | |
29 | registration_redirect | filter | YES | wp-login.php | |
30 | wp_signup_location | filter | YES | wp-login.php | |
31 | lostpassword_redirect | filter | YES | wp-login.php |
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.