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 | register_new_user | action | no | wp-includes/user.php | |
2 | wp_authenticate | action | no | wp-includes/user.php | |
3 | wp_login | action | no | wp-includes/user.php | |
4 | application_password_failed_authentication | action | YES | wp-includes/user.php | |
5 | wp_authenticate_application_password_errors | action | YES | wp-includes/user.php | |
6 | application_password_failed_authentication | action | no | wp-includes/user.php | |
7 | application_password_did_authenticate | action | YES | wp-includes/user.php | |
8 | application_password_failed_authentication | action | no | wp-includes/user.php | |
9 | clean_user_cache | action | no | wp-includes/user.php | |
10 | profile_update | action | no | wp-includes/user.php | |
11 | make_ham_user | action | no | wp-includes/user.php | |
12 | user_register | action | no | wp-includes/user.php | |
13 | retrieve_password | action | no | wp-includes/user.php | |
14 | retrieve_password_key | action | no | wp-includes/user.php | |
15 | password_reset | action | no | wp-includes/user.php | |
16 | after_password_reset | action | no | wp-includes/user.php | |
17 | register_post | action | no | wp-includes/user.php | |
18 | make_spam_user | action | no | wp-includes/user.php | |
19 | user_request_confirmed_email_headers | filter | no | wp-includes/user.php | |
20 | user_request_confirmed_email_subject | filter | no | wp-includes/user.php | |
21 | user_confirmed_action_email_content | filter | no | wp-includes/user.php | |
22 | user_request_confirmed_email_to | filter | no | wp-includes/user.php | |
23 | wp_privacy_additional_user_profile_data | filter | no | wp-includes/user.php | |
24 | new_user_email_content | filter | no | wp-includes/user.php | |
25 | determine_current_user | filter | no | wp-includes/user.php | |
26 | registration_errors | filter | no | wp-includes/user.php | |
27 | illegal_user_logins | filter | no | wp-includes/user.php | |
28 | user_registration_email | filter | no | wp-includes/user.php | |
29 | password_reset_expiration | filter | no | wp-includes/user.php | |
30 | password_reset_key_expired | filter | no | wp-includes/user.php | |
31 | user_erasure_fulfillment_email_to | filter | no | wp-includes/user.php | |
32 | user_erasure_complete_email_subject | filter | no | wp-includes/user.php | |
33 | user_confirmed_action_email_content | filter | no | wp-includes/user.php | |
34 | user_erasure_complete_email_headers | filter | no | wp-includes/user.php | |
35 | user_request_action_confirmed_message | filter | no | wp-includes/user.php | |
36 | user_request_action_description | filter | no | wp-includes/user.php | |
37 | user_request_action_email_content | filter | no | wp-includes/user.php | |
38 | user_request_action_email_subject | filter | no | wp-includes/user.php | |
39 | user_request_action_email_headers | filter | no | wp-includes/user.php | |
40 | user_request_key_expiration | filter | no | wp-includes/user.php | |
41 | wp_is_application_passwords_available | filter | YES | wp-includes/user.php | |
42 | wp_is_application_passwords_available_for_user | filter | YES | wp-includes/user.php | |
43 | wp_dropdown_users_args | filter | no | wp-includes/user.php | |
44 | validate_username | filter | no | wp-includes/user.php | |
45 | email_exists | filter | YES | wp-includes/user.php | |
46 | username_exists | filter | no | wp-includes/user.php | |
47 | user_{$field} | note | filter | no | wp-includes/user.php |
48 | {$field} | note | filter | no | wp-includes/user.php |
49 | pre_user_{$field} | note | filter | no | wp-includes/user.php |
50 | pre_{$field} | note | filter | no | wp-includes/user.php |
51 | edit_user_{$field} | note | filter | no | wp-includes/user.php |
52 | edit_{$field} | note | filter | no | wp-includes/user.php |
53 | wp_dropdown_users | filter | no | wp-includes/user.php | |
54 | pre_user_login | filter | no | wp-includes/user.php | |
55 | pre_count_users | filter | no | wp-includes/user.php | |
56 | get_blogs_of_user | filter | no | wp-includes/user.php | |
57 | pre_get_blogs_of_user | filter | no | wp-includes/user.php | |
58 | get_user_option_{$option} | note | filter | no | wp-includes/user.php |
59 | get_usernumposts | filter | no | wp-includes/user.php | |
60 | check_is_user_spammed | filter | no | wp-includes/user.php | |
61 | application_password_is_api_request | filter | YES | wp-includes/user.php | |
62 | wp_authenticate_user | filter | no | wp-includes/user.php | |
63 | wp_authenticate_user | filter | no | wp-includes/user.php | |
64 | wp_pre_insert_user_data | filter | no | wp-includes/user.php | |
65 | allow_password_reset | filter | no | wp-includes/user.php | |
66 | password_hint | filter | no | wp-includes/user.php | |
67 | user_contactmethods | filter | no | wp-includes/user.php | |
68 | auth_cookie_expiration | filter | no | wp-includes/user.php | |
69 | email_change_email | filter | no | wp-includes/user.php | |
70 | password_change_email | filter | no | wp-includes/user.php | |
71 | send_email_change_email | filter | no | wp-includes/user.php | |
72 | send_password_change_email | filter | no | wp-includes/user.php | |
73 | insert_user_meta | filter | no | wp-includes/user.php | |
74 | secure_signon_cookie | filter | no | wp-includes/user.php | |
75 | pre_user_description | filter | no | wp-includes/user.php | |
76 | pre_user_display_name | filter | no | wp-includes/user.php | |
77 | pre_user_last_name | filter | no | wp-includes/user.php | |
78 | pre_user_first_name | filter | no | wp-includes/user.php | |
79 | pre_user_nickname | filter | no | wp-includes/user.php | |
80 | pre_user_url | filter | no | wp-includes/user.php | |
81 | pre_user_email | filter | no | wp-includes/user.php | |
82 | pre_user_nicename | filter | no | wp-includes/user.php | |
83 | illegal_user_logins | filter | no | 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.