Changeset 30656 for trunk/src/wp-includes/class-wp-customize-setting.php
- Timestamp:
- 11/30/2014 12:09:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-setting.php
r30609 r30656 128 128 * not handled as theme_mods or options. 129 129 * 130 * The dynamic portion of the hook name, $this->id, refers to the setting ID.130 * The dynamic portion of the hook name, `$this->id`, refers to the setting ID. 131 131 * 132 132 * @since 3.4.0 133 133 * 134 * @param WP_Customize_Setting $this WP_Customize_Settinginstance.134 * @param WP_Customize_Setting $this {@see WP_Customize_Setting} instance. 135 135 */ 136 136 do_action( "customize_preview_{$this->id}", $this ); … … 180 180 * Fires when the WP_Customize_Setting::save() method is called. 181 181 * 182 * The dynamic portion of the hook name, $this->id_data['base']refers to182 * The dynamic portion of the hook name, `$this->id_data['base']` refers to 183 183 * the base slug of the setting name. 184 184 * 185 185 * @since 3.4.0 186 186 * 187 * @param WP_Customize_Setting $this WP_Customize_Settinginstance.187 * @param WP_Customize_Setting $this {@see WP_Customize_Setting} instance. 188 188 */ 189 189 do_action( 'customize_save_' . $this->id_data[ 'base' ], $this ); … … 255 255 256 256 /** 257 * Fires when the WP_Customize_Setting::update()method is called for settings257 * Fires when the {@see WP_Customize_Setting::update()} method is called for settings 258 258 * not handled as theme_mods or options. 259 259 * 260 * The dynamic portion of the hook name, $this->type, refers to the type of setting.260 * The dynamic portion of the hook name, `$this->type`, refers to the type of setting. 261 261 * 262 262 * @since 3.4.0 … … 330 330 * Filter a Customize setting value not handled as a theme_mod or option. 331 331 * 332 * The dynamic portion of the hook name, $this->id_date['base'], refers to332 * The dynamic portion of the hook name, `$this->id_date['base']`, refers to 333 333 * the base slug of the setting name. 334 334 * … … 364 364 * Filter a Customize setting value for use in JavaScript. 365 365 * 366 * The dynamic portion of the hook name, $this->id, refers to the setting ID.366 * The dynamic portion of the hook name, `$this->id`, refers to the setting ID. 367 367 * 368 368 * @since 3.4.0 369 369 * 370 370 * @param mixed $value The setting value. 371 * @param WP_Customize_Setting $this WP_Customize_Settinginstance.371 * @param WP_Customize_Setting $this {@see WP_Customize_Setting} instance. 372 372 */ 373 373 $value = apply_filters( "customize_sanitize_js_{$this->id}", $this->value(), $this );
Note: See TracChangeset
for help on using the changeset viewer.