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 | the_weekday_date | filter | no | wp-includes/general-template.php | |
2 | the_search_query | filter | no | wp-includes/general-template.php | |
3 | get_search_query | filter | no | wp-includes/general-template.php | |
4 | wp_code_editor_settings | filter | no | wp-includes/general-template.php | |
5 | wp_default_editor | filter | no | wp-includes/general-template.php | |
6 | user_can_richedit | filter | no | wp-includes/general-template.php | |
7 | wp_resource_hints | filter | no | wp-includes/general-template.php | |
8 | emoji_svg_url | filter | no | wp-includes/general-template.php | |
9 | site_icon_meta_tags | filter | no | wp-includes/general-template.php | |
10 | feed_links_show_comments_feed | filter | no | wp-includes/general-template.php | |
11 | feed_links_show_posts_feed | filter | no | wp-includes/general-template.php | |
12 | language_attributes | filter | no | wp-includes/general-template.php | |
13 | the_weekday | filter | no | wp-includes/general-template.php | |
14 | get_post_modified_time | filter | no | wp-includes/general-template.php | |
15 | get_the_modified_time | filter | no | wp-includes/general-template.php | |
16 | the_modified_time | filter | no | wp-includes/general-template.php | |
17 | get_post_time | filter | no | wp-includes/general-template.php | |
18 | get_the_time | filter | no | wp-includes/general-template.php | |
19 | the_time | filter | no | wp-includes/general-template.php | |
20 | get_the_modified_date | filter | no | wp-includes/general-template.php | |
21 | search_form_args | filter | no | wp-includes/general-template.php | |
22 | get_header | action | no | wp-includes/general-template.php | |
23 | wp_enqueue_code_editor | action | no | wp-includes/general-template.php | |
24 | wp_body_open | action | no | wp-includes/general-template.php | |
25 | wp_footer | action | no | wp-includes/general-template.php | |
26 | wp_head | action | no | wp-includes/general-template.php | |
27 | wp_meta | action | no | wp-includes/general-template.php | |
28 | pre_get_search_form | action | no | wp-includes/general-template.php | |
29 | get_template_part | action | no | wp-includes/general-template.php | |
30 | get_template_part_{$slug} | note | action | no | wp-includes/general-template.php |
31 | get_sidebar | action | no | wp-includes/general-template.php | |
32 | get_footer | action | no | wp-includes/general-template.php | |
33 | the_modified_date | filter | no | wp-includes/general-template.php | |
34 | get_the_generator_{$type} | note | filter | no | wp-includes/general-template.php |
35 | the_generator | filter | no | wp-includes/general-template.php | |
36 | wp_generator_type | filter | no | wp-includes/general-template.php | |
37 | wp_admin_css | filter | no | wp-includes/general-template.php | |
38 | wp_admin_css | filter | no | wp-includes/general-template.php | |
39 | wp_admin_css_uri | filter | no | wp-includes/general-template.php | |
40 | paginate_links | filter | no | wp-includes/general-template.php | |
41 | paginate_links | filter | no | wp-includes/general-template.php | |
42 | paginate_links | filter | no | wp-includes/general-template.php | |
43 | login_form_middle | filter | no | wp-includes/general-template.php | |
44 | get_the_date | filter | no | wp-includes/general-template.php | |
45 | pre_get_document_title | filter | no | wp-includes/general-template.php | |
46 | get_custom_logo | filter | no | wp-includes/general-template.php | |
47 | get_custom_logo_image_attributes | filter | no | wp-includes/general-template.php | |
48 | get_site_icon_url | filter | no | wp-includes/general-template.php | |
49 | bloginfo | filter | no | wp-includes/general-template.php | |
50 | bloginfo_url | filter | no | wp-includes/general-template.php | |
51 | register | filter | no | wp-includes/general-template.php | |
52 | lostpassword_url | filter | no | wp-includes/general-template.php | |
53 | login_form_bottom | filter | no | wp-includes/general-template.php | |
54 | document_title_separator | filter | no | wp-includes/general-template.php | |
55 | login_form_top | filter | no | wp-includes/general-template.php | |
56 | login_form_defaults | filter | no | wp-includes/general-template.php | |
57 | register_url | filter | no | wp-includes/general-template.php | |
58 | login_url | filter | no | wp-includes/general-template.php | |
59 | logout_url | filter | no | wp-includes/general-template.php | |
60 | loginout | filter | no | wp-includes/general-template.php | |
61 | loginout | filter | no | wp-includes/general-template.php | |
62 | get_search_form | filter | no | wp-includes/general-template.php | |
63 | search_form_format | filter | no | wp-includes/general-template.php | |
64 | get_the_archive_title | filter | no | wp-includes/general-template.php | |
65 | the_date | filter | no | wp-includes/general-template.php | |
66 | get_calendar | filter | no | wp-includes/general-template.php | |
67 | get_calendar | filter | no | wp-includes/general-template.php | |
68 | get_calendar | filter | no | wp-includes/general-template.php | |
69 | the_title | filter | no | wp-includes/general-template.php | |
70 | getarchives_join | filter | no | wp-includes/general-template.php | |
71 | getarchives_where | filter | no | wp-includes/general-template.php | |
72 | get_archives_link | filter | no | wp-includes/general-template.php | |
73 | get_the_post_type_description | filter | no | wp-includes/general-template.php | |
74 | get_the_archive_description | filter | no | wp-includes/general-template.php | |
75 | document_title_parts | filter | no | wp-includes/general-template.php | |
76 | get_the_archive_title_prefix | filter | no | wp-includes/general-template.php | |
77 | single_term_title | filter | no | wp-includes/general-template.php | |
78 | single_tag_title | filter | no | wp-includes/general-template.php | |
79 | single_cat_title | filter | no | wp-includes/general-template.php | |
80 | post_type_archive_title | filter | no | wp-includes/general-template.php | |
81 | single_post_title | filter | no | wp-includes/general-template.php | |
82 | wp_title | filter | no | wp-includes/general-template.php | |
83 | wp_title_parts | filter | no | wp-includes/general-template.php | |
84 | paginate_links_output | filter | YES | wp-includes/general-template.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.