apply_filters( "customize_sanitize_js_{$this->id}", mixed $value, WP_Customize_Setting $this )

Filters a Customize setting value for use in JavaScript.

Description Description

The dynamic portion of the hook name, $this->id, refers to the setting ID.

Parameters Parameters


(mixed) The setting value.


(WP_Customize_Setting) WP_Customize_Setting instance.

Top ↑

Source Source

File: wp-includes/class-wp-customize-setting.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.