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 | added_postmeta | action | no | wp-admin/includes/post.php | |
2 | admin_post_thumbnail_html | filter | no | wp-admin/includes/post.php | |
3 | default_content | filter | no | wp-admin/includes/post.php | |
4 | default_excerpt | filter | no | wp-admin/includes/post.php | |
5 | default_title | filter | no | wp-admin/includes/post.php | |
6 | deleted_postmeta | action | no | wp-admin/includes/post.php | |
7 | delete_postmeta | action | no | wp-admin/includes/post.php | |
8 | disable_captions | filter | no | wp-admin/includes/post.php | |
9 | editable_slug | filter | no | wp-admin/includes/post.php | |
10 | get_sample_permalink_html | filter | no | wp-admin/includes/post.php | |
11 | get_sample_permalink_html | filter | no | wp-admin/includes/post.php | |
12 | mce_buttons | filter | no | wp-admin/includes/post.php | |
13 | mce_buttons_2 | filter | no | wp-admin/includes/post.php | |
14 | mce_buttons_3 | filter | no | wp-admin/includes/post.php | |
15 | mce_buttons_4 | filter | no | wp-admin/includes/post.php | |
16 | mce_css | filter | no | wp-admin/includes/post.php | |
17 | mce_external_languages | filter | no | wp-admin/includes/post.php | |
18 | mce_external_plugins | filter | no | wp-admin/includes/post.php | |
19 | mce_spellchecker_languages | filter | no | wp-admin/includes/post.php | |
20 | post_mime_types | filter | no | wp-admin/includes/post.php | |
21 | teeny_mce_before_init | filter | no | wp-admin/includes/post.php | |
22 | teeny_mce_buttons | filter | no | wp-admin/includes/post.php | |
23 | teeny_mce_plugins | filter | no | wp-admin/includes/post.php | |
24 | tiny_mce_before_init | filter | no | wp-admin/includes/post.php | |
25 | tiny_mce_version | filter | no | wp-admin/includes/post.php | |
26 | updated_postmeta | action | no | wp-admin/includes/post.php | |
27 | update_postmeta | action | no | wp-admin/includes/post.php | |
28 | upload_per_page | filter | no | wp-admin/includes/post.php | |
29 | wp_check_post_lock_window | filter | no | wp-admin/includes/post.php | |
30 | {$per_page} | note | filter | YES | wp-admin/includes/post.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.