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 | admin_print_styles | action | no | wp-includes/class-wp-customize-widgets.php | |
2 | sidebar_admin_setup | action | no | wp-includes/class-wp-customize-widgets.php | |
3 | widgets-php | action | no | wp-includes/class-wp-customize-widgets.php | |
4 | load-widgets-php | action | no | wp-includes/class-wp-customize-widgets.php | |
5 | admin_footer-widgets-php | action | no | wp-includes/class-wp-customize-widgets.php | |
6 | admin_print_footer_scripts | action | no | wp-includes/class-wp-customize-widgets.php | |
7 | admin_enqueue_scripts | action | no | wp-includes/class-wp-customize-widgets.php | |
8 | admin_print_scripts | action | no | wp-includes/class-wp-customize-widgets.php | |
9 | admin_print_scripts-widgets-php | action | no | wp-includes/class-wp-customize-widgets.php | |
10 | customizer_widgets_section_args | filter | no | wp-includes/class-wp-customize-widgets.php | |
11 | admin_print_styles-widgets-php | action | no | wp-includes/class-wp-customize-widgets.php | |
12 | sidebar_admin_setup | action | no | wp-includes/class-wp-customize-widgets.php | |
13 | widgets-php | action | no | wp-includes/class-wp-customize-widgets.php | |
14 | load-widgets-php | action | no | wp-includes/class-wp-customize-widgets.php | |
15 | option_{$option_name} | note | filter | no | wp-includes/class-wp-customize-widgets.php |
16 | widget_customizer_setting_args | filter | no | wp-includes/class-wp-customize-widgets.php | |
17 | is_wide_widget_in_customizer | filter | no | wp-includes/class-wp-customize-widgets.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.