Used By
Used By | Description |
---|---|
wp-includes/class-wp-customize-setting.php: WP_Customize_Setting::js_value() | Sanitize the setting’s value for use in JavaScript. |
Filters a Customize setting value for use in JavaScript.
The dynamic portion of the hook name, $this->id
, refers to the setting ID.
(mixed) The setting value.
(WP_Customize_Setting) WP_Customize_Setting instance.
Version | Description |
---|---|
3.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_sanitize_js_this-id