WP_Customize_Filter_Setting::update() WordPress Method
The WP_Customize_Filter_Setting::update() function is used to update the value of a filter setting. This function takes two arguments: the new value and the old value.
WP_Customize_Filter_Setting::update( mixed $value ) #
Saves the value of the setting, using the related API.
Contents
Parameters
- $value
(mixed)(Required)The value to update.
Source
File: wp-includes/customize/class-wp-customize-filter-setting.php
public function update( $value ) {}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |