customize_sanitize_{$this->id} WordPress Filter Hook

This hook allows you to modify the value of a setting before it is sanitized. Arguments: $value - The value of the setting. $setting - The WP_Customize_Setting instance. Returns: The sanitized value.

apply_filters( "customize_sanitize_{$this->id}", mixed $value, WP_Customize_Setting $setting ) #

Filters a Customize setting value in un-slashed form.


Parameters

$value

(mixed)Value of the setting.

$setting

(WP_Customize_Setting)WP_Customize_Setting instance.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.