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 | customize_allowed_urls | filter | no | wp-includes/class-wp-customize-manager.php | |
2 | customize_changeset_branching | filter | no | wp-includes/class-wp-customize-manager.php | |
3 | customize_changeset_save_data | filter | no | wp-includes/class-wp-customize-manager.php | |
4 | customize_dynamic_setting_args | filter | no | wp-includes/class-wp-customize-manager.php | |
5 | customize_dynamic_setting_args | filter | no | wp-includes/class-wp-customize-manager.php | |
6 | customize_dynamic_setting_class | filter | no | wp-includes/class-wp-customize-manager.php | |
7 | customize_dynamic_setting_class | filter | no | wp-includes/class-wp-customize-manager.php | |
8 | customize_loaded_components | filter | no | wp-includes/class-wp-customize-manager.php | |
9 | customize_load_themes | filter | no | wp-includes/class-wp-customize-manager.php | |
10 | customize_post_value_set | action | no | wp-includes/class-wp-customize-manager.php | |
11 | customize_post_value_set_{$setting_id} | note | action | no | wp-includes/class-wp-customize-manager.php |
12 | customize_previewable_devices | filter | no | wp-includes/class-wp-customize-manager.php | |
13 | customize_preview_init | action | no | wp-includes/class-wp-customize-manager.php | |
14 | customize_refresh_nonces | filter | no | wp-includes/class-wp-customize-manager.php | |
15 | customize_register | action | no | wp-includes/class-wp-customize-manager.php | |
16 | customize_save | action | no | wp-includes/class-wp-customize-manager.php | |
17 | customize_save_after | action | no | wp-includes/class-wp-customize-manager.php | |
18 | customize_save_response | filter | no | wp-includes/class-wp-customize-manager.php | |
19 | customize_save_validation_before | action | no | wp-includes/class-wp-customize-manager.php | |
20 | customize_validate_{$setting->id} | note | filter | no | wp-includes/class-wp-customize-manager.php |
21 | edit_post | action | no | wp-includes/class-wp-customize-manager.php | |
22 | pre_trash_post | filter | no | wp-includes/class-wp-customize-manager.php | |
23 | save_post | action | no | wp-includes/class-wp-customize-manager.php | |
24 | save_post_{$post->post_type} | note | action | no | wp-includes/class-wp-customize-manager.php |
25 | start_previewing_theme | action | no | wp-includes/class-wp-customize-manager.php | |
26 | stop_previewing_theme | action | no | wp-includes/class-wp-customize-manager.php | |
27 | trashed_post | action | no | wp-includes/class-wp-customize-manager.php | |
28 | wp_insert_post | action | no | wp-includes/class-wp-customize-manager.php | |
29 | wp_trash_post | action | no | wp-includes/class-wp-customize-manager.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.