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 | allow_password_reset | filter | no | wp-login.php | |
2 | login_errors | filter | no | wp-login.php | |
3 | login_form | action | no | wp-login.php | |
4 | login_form_{$action} | note | action | YES | wp-login.php |
5 | login_head | action | no | wp-login.php | |
6 | login_headertitle | filter | no | wp-login.php | |
7 | login_headerurl | filter | no | wp-login.php | |
8 | login_message | filter | no | wp-login.php | |
9 | login_messages | filter | no | wp-login.php | |
10 | login_redirect | filter | no | wp-login.php | |
11 | lostpassword_form | action | no | wp-login.php | |
12 | lostpassword_post | action | no | wp-login.php | |
13 | lost_password | action | no | wp-login.php | |
14 | password_reset | action | no | wp-login.php | |
15 | password_reset_message | filter | YES | wp-login.php | |
16 | password_reset_title | filter | YES | wp-login.php | |
17 | register_form | action | no | wp-login.php | |
18 | register_post | action | no | wp-login.php | |
19 | registration_errors | filter | no | wp-login.php | |
20 | retreive_password | action | no | wp-login.php | |
21 | retrieve_password | action | no | wp-login.php | |
22 | retrieve_password_key | action | no | wp-login.php | |
23 | retrieve_password_message | filter | YES | wp-login.php | |
24 | retrieve_password_title | filter | YES | wp-login.php | |
25 | user_registration_email | filter | no | 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.