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

Filters a Customize setting value for use in JavaScript.


Description

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


Parameters

$value

The setting value.

$this

WP_Customize_Setting instance.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-3.4.0 Introduced.