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_save_after | action | no | wp-includes/class-wp-customize-manager.php | |
2 | customize_save | action | no | wp-includes/class-wp-customize-manager.php | |
3 | customize_save_validation_before | action | no | wp-includes/class-wp-customize-manager.php | |
4 | customize_preview_init | action | no | wp-includes/class-wp-customize-manager.php | |
5 | customize_post_value_set | action | no | wp-includes/class-wp-customize-manager.php | |
6 | customize_post_value_set_{$setting_id} | note | action | no | wp-includes/class-wp-customize-manager.php |
7 | customize_register | action | no | wp-includes/class-wp-customize-manager.php | |
8 | stop_previewing_theme | action | no | wp-includes/class-wp-customize-manager.php | |
9 | start_previewing_theme | action | no | wp-includes/class-wp-customize-manager.php | |
10 | customize_previewable_devices | filter | no | wp-includes/class-wp-customize-manager.php | |
11 | customize_loaded_components | filter | no | wp-includes/class-wp-customize-manager.php | |
12 | customize_refresh_nonces | filter | no | wp-includes/class-wp-customize-manager.php | |
13 | customize_allowed_urls | filter | no | wp-includes/class-wp-customize-manager.php | |
14 | customize_dynamic_setting_class | filter | no | wp-includes/class-wp-customize-manager.php | |
15 | customize_dynamic_setting_args | filter | no | wp-includes/class-wp-customize-manager.php | |
16 | customize_dynamic_setting_class | filter | no | wp-includes/class-wp-customize-manager.php | |
17 | customize_dynamic_setting_args | filter | no | wp-includes/class-wp-customize-manager.php | |
18 | customize_changeset_save_data | filter | YES | wp-includes/class-wp-customize-manager.php | |
19 | customize_save_response | filter | no | wp-includes/class-wp-customize-manager.php | |
20 | customize_validate_{$setting->id} | note | filter | YES | 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.