wp/wp-includes/customize/class-wp-customize-filter-setting.php
changeset 7 cf61fcea0001
equal deleted inserted replaced
6:490d5cc509ed 7:cf61fcea0001
       
     1 <?php
       
     2 /**
       
     3  * Customize API: WP_Customize_Filter_Setting class
       
     4  *
       
     5  * @package WordPress
       
     6  * @subpackage Customize
       
     7  * @since 4.4.0
       
     8  */
       
     9 
       
    10 /**
       
    11  * A setting that is used to filter a value, but will not save the results.
       
    12  *
       
    13  * Results should be properly handled using another setting or callback.
       
    14  *
       
    15  * @since 3.4.0
       
    16  *
       
    17  * @see WP_Customize_Setting
       
    18  */
       
    19 class WP_Customize_Filter_Setting extends WP_Customize_Setting {
       
    20 
       
    21 	/**
       
    22 	 * Saves the value of the setting, using the related API.
       
    23 	 *
       
    24 	 * @since 3.4.0
       
    25 	 *
       
    26 	 * @param mixed $value The value to update.
       
    27 	 */
       
    28 	public function update( $value ) {}
       
    29 }