WP_Customize_Filter_Setting::update
Saves the value of the setting, using the related API.
Method of the class: WP_Customize_Filter_Setting{}
No Hooks.
Returns
true. Always returns true.
Usage
$WP_Customize_Filter_Setting = new WP_Customize_Filter_Setting(); $WP_Customize_Filter_Setting->update( $value );
- $value(mixed) (required)
- The value to update.
Changelog
| Since 3.4.0 | Introduced. |
| Since 7.0.0 | Return type updated from void to true for compatibility with base class. |
WP_Customize_Filter_Setting::update() WP Customize Filter Setting::update code WP 7.0
public function update( $value ) {
return true;
}