WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about customize_value_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-customize-setting.php apply_filters 768 /**
* Filters a Customize setting value not handled as a theme_mod or option.
*
* The dynamic portion of the hook name, `$id_base`, refers to
* the base slug of the setting name, initialized from `$this->id_data['base']`.
*
* For settings handled as theme_mods or options, see those corresponding
* functions for available hooks.
*
* @since 3.4.0
* @since 4.6.0 Added the `$this` setting instance as the second parameter.
*
* @param mixed $default_value The setting default value. Default empty.
* @param WP_Customize_Setting $setting The setting instance.
*/
wp-includes/customize/class-wp-customize-custom-css-setting.php apply_filters 142 /**
* Fetch the value of the setting. Will return the previewed value when `preview()` is called.
*
* @since 4.7.0
*
* @see WP_Customize_Setting::value()
*
* @return string
*/

Hook Parameters

Parameter Type Name Description
mixed $default_value The setting default value. Default empty.
WP_Customize_Setting $setting The setting instance.