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 | delete_widget | action | no | wp-admin/includes/ajax-actions.php | |
5 | heartbeat_nopriv_received | filter | no | wp-admin/includes/ajax-actions.php | |
6 | heartbeat_nopriv_send | filter | no | wp-admin/includes/ajax-actions.php | |
7 | heartbeat_nopriv_tick | action | no | wp-admin/includes/ajax-actions.php | |
8 | heartbeat_received | filter | no | wp-admin/includes/ajax-actions.php | |
9 | heartbeat_send | filter | no | wp-admin/includes/ajax-actions.php | |
10 | heartbeat_tick | action | no | wp-admin/includes/ajax-actions.php | |
11 | install_themes_table_api_args_{$old_filter} | note | filter | no | wp-admin/includes/ajax-actions.php |
12 | load-widgets-php | action | no | wp-admin/includes/ajax-actions.php | |
13 | load-widgets-php | action | no | wp-admin/includes/ajax-actions.php | |
14 | media_send_to_editor | filter | no | wp-admin/includes/ajax-actions.php | |
15 | nav_menu_meta_box_object | filter | no | wp-admin/includes/ajax-actions.php | |
16 | quick_edit_show_taxonomy | filter | no | wp-admin/includes/ajax-actions.php | |
17 | sidebar_admin_setup | action | no | wp-admin/includes/ajax-actions.php | |
18 | sidebar_admin_setup | action | no | wp-admin/includes/ajax-actions.php | |
19 | term_search_min_chars | filter | no | wp-admin/includes/ajax-actions.php | |
20 | widgets-php | action | no | wp-admin/includes/ajax-actions.php | |
21 | widgets-php | action | no | wp-admin/includes/ajax-actions.php | |
22 | wp_ajax_cropped_attachment_id | filter | no | wp-admin/includes/ajax-actions.php | |
23 | wp_ajax_cropped_attachment_metadata | filter | no | wp-admin/includes/ajax-actions.php | |
24 | wp_ajax_crop_image_pre_save | action | no | wp-admin/includes/ajax-actions.php | |
25 | wp_check_post_lock_window | filter | no | wp-admin/includes/ajax-actions.php | |
26 | wp_create_file_in_uploads | filter | no | wp-admin/includes/ajax-actions.php | |
27 | wp_create_file_in_uploads | filter | no | wp-admin/includes/ajax-actions.php | |
28 | wp_edit_nav_menu_walker | filter | no | wp-admin/includes/ajax-actions.php | |
29 | wp_privacy_personal_data_erasers | filter | no | wp-admin/includes/ajax-actions.php | |
30 | wp_privacy_personal_data_erasure_page | filter | no | wp-admin/includes/ajax-actions.php | |
31 | wp_privacy_personal_data_exporters | filter | no | wp-admin/includes/ajax-actions.php | |
32 | wp_privacy_personal_data_export_page | filter | no | wp-admin/includes/ajax-actions.php | |
33 | wp_refresh_nonces | filter | no | wp-admin/includes/ajax-actions.php | |
34 | {$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.