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 | user_registration_email | filter | no | wp-includes/user.php | |
2 | pre_user_nickname | filter | no | wp-includes/user.php | |
3 | pre_user_first_name | filter | no | wp-includes/user.php | |
4 | secure_signon_cookie | filter | no | wp-includes/user.php | |
5 | pre_user_display_name | filter | no | wp-includes/user.php | |
6 | pre_user_description | filter | no | wp-includes/user.php | |
7 | auth_cookie_expiration | filter | no | wp-includes/user.php | |
8 | user_contactmethods | filter | no | wp-includes/user.php | |
9 | password_hint | filter | no | wp-includes/user.php | |
10 | password_reset_key_expired | filter | no | wp-includes/user.php | |
11 | pre_user_last_name | filter | no | wp-includes/user.php | |
12 | registration_errors | filter | no | wp-includes/user.php | |
13 | wp_authenticate | action | no | wp-includes/user.php | |
14 | wp_login | action | no | wp-includes/user.php | |
15 | pre_get_users | action | no | wp-includes/user.php | |
16 | pre_user_query | action | no | wp-includes/user.php | |
17 | profile_update | action | no | wp-includes/user.php | |
18 | user_register | action | no | wp-includes/user.php | |
19 | password_reset | action | no | wp-includes/user.php | |
20 | register_post | action | no | wp-includes/user.php | |
21 | pre_user_url | filter | no | wp-includes/user.php | |
22 | wp_authenticate_user | filter | no | wp-includes/user.php | |
23 | check_is_user_spammed | filter | no | wp-includes/user.php | |
24 | get_usernumposts | filter | no | wp-includes/user.php | |
25 | get_user_option_{$option} | note | filter | no | wp-includes/user.php |
26 | user_search_columns | filter | no | wp-includes/user.php | |
27 | found_users_query | filter | no | wp-includes/user.php | |
28 | get_blogs_of_user | filter | no | wp-includes/user.php | |
29 | wp_dropdown_users | filter | no | wp-includes/user.php | |
30 | edit_{$field} | note | filter | no | wp-includes/user.php |
31 | edit_user_{$field} | note | filter | no | wp-includes/user.php |
32 | pre_{$field} | note | filter | no | wp-includes/user.php |
33 | pre_user_{$field} | note | filter | no | wp-includes/user.php |
34 | {$field} | note | filter | no | wp-includes/user.php |
35 | user_{$field} | note | filter | no | wp-includes/user.php |
36 | validate_username | filter | no | wp-includes/user.php | |
37 | pre_user_login | filter | no | wp-includes/user.php | |
38 | pre_user_nicename | filter | no | wp-includes/user.php | |
39 | pre_user_email | filter | no | wp-includes/user.php | |
40 | password_reset_expiration | filter | YES | wp-includes/user.php | |
41 | email_change_email | filter | YES | wp-includes/user.php | |
42 | password_change_email | filter | YES | wp-includes/user.php | |
43 | send_email_change_email | filter | YES | wp-includes/user.php | |
44 | send_password_change_email | filter | YES | wp-includes/user.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.