W3cubDocs

/WordPress

WP_Customize_Filter_Setting

A setting that is used to filter a value, but will not save the results.

Description

Results should be properly handled using another setting or callback.

See also

Source

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

class WP_Customize_Filter_Setting extends WP_Customize_Setting {

	/**
	 * Saves the value of the setting, using the related API.
	 *
	 * @since 3.4.0
	 *
	 * @param mixed $value The value to update.
	 */
	public function update( $value ) {}
}

Methods

  • update — Saves the value of the setting, using the related API.

Changelog

Version Description
3.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_filter_setting