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 | ajax_query_attachments_args | filter | no | wp-admin/includes/ajax-actions.php | |
2 | attachment_fields_to_save | filter | no | wp-admin/includes/ajax-actions.php | |
3 | autocomplete_users_for_site_admins | filter | no | wp-admin/includes/ajax-actions.php | |
4 | heartbeat_nopriv_received | filter | no | wp-admin/includes/ajax-actions.php | |
5 | heartbeat_nopriv_send | filter | no | wp-admin/includes/ajax-actions.php | |
6 | heartbeat_nopriv_tick | action | no | wp-admin/includes/ajax-actions.php | |
7 | heartbeat_received | filter | no | wp-admin/includes/ajax-actions.php | |
8 | heartbeat_send | filter | no | wp-admin/includes/ajax-actions.php | |
9 | heartbeat_tick | action | no | wp-admin/includes/ajax-actions.php | |
10 | install_themes_table_api_args_{$old_filter} | note | filter | no | wp-admin/includes/ajax-actions.php |
11 | load-widgets-php | action | no | wp-admin/includes/ajax-actions.php | |
12 | media_send_to_editor | filter | no | wp-admin/includes/ajax-actions.php | |
13 | nav_menu_meta_box_object | filter | no | wp-admin/includes/ajax-actions.php | |
14 | quick_edit_show_taxonomy | filter | no | wp-admin/includes/ajax-actions.php | |
15 | sidebar_admin_setup | action | no | wp-admin/includes/ajax-actions.php | |
16 | term_search_min_chars | filter | no | wp-admin/includes/ajax-actions.php | |
17 | widgets-php | action | no | wp-admin/includes/ajax-actions.php | |
18 | wp_ajax_cropped_attachment_id | filter | YES | wp-admin/includes/ajax-actions.php | |
19 | wp_ajax_cropped_attachment_metadata | filter | YES | wp-admin/includes/ajax-actions.php | |
20 | wp_ajax_crop_image_pre_save | action | YES | wp-admin/includes/ajax-actions.php | |
21 | wp_check_post_lock_window | filter | no | wp-admin/includes/ajax-actions.php | |
22 | wp_create_file_in_uploads | filter | no | wp-admin/includes/ajax-actions.php | |
23 | wp_create_file_in_uploads | filter | no | wp-admin/includes/ajax-actions.php | |
24 | wp_edit_nav_menu_walker | filter | no | wp-admin/includes/ajax-actions.php | |
25 | wp_refresh_nonces | filter | YES | wp-admin/includes/ajax-actions.php | |
26 | {$type}_send_to_editor_url | note | filter | no | wp-admin/includes/ajax-actions.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.