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