WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about customize_sanitize_js_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-customize-setting.php apply_filters 802 /**
* Filters a Customize setting value for use in JavaScript.
*
* The dynamic portion of the hook name, `$this->id`, refers to the setting ID.
*
* @since 3.4.0
*
* @param mixed $value The setting value.
* @param WP_Customize_Setting $setting WP_Customize_Setting instance.
*/

Hook Parameters

Parameter Type Name Description
mixed $value The setting value.
WP_Customize_Setting $setting WP_Customize_Setting instance.