WP_Customize_Filter_Setting{}WP 3.4.0

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

Results should be properly handled using another setting or callback.

Хуков нет.

Использование

$WP_Customize_Filter_Setting = new WP_Customize_Filter_Setting();
// use class methods

Методы

  1. public update( $value )

Заметки

Список изменений

С версии 3.4.0 Введена.

Код WP_Customize_Filter_Setting{} WP 6.5.2

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 ) {}
}