Ticket #29316: class-wp-customize-setting.diff
| File class-wp-customize-setting.diff, 1.6 KB (added by , 11 years ago) |
|---|
-
src/wp-includes/class-wp-customize-setting.php
175 175 * Fires when the {@see WP_Customize_Setting::preview()} method is called for settings 176 176 * not handled as theme_mods or options. 177 177 * 178 * @since 4.2 179 * 180 * @param WP_Customize_Setting $this {@see WP_Customize_Setting} instance. 181 */ 182 do_action( 'customize_preview_setting', $this ); 183 184 /** 185 * Fires when the {@see WP_Customize_Setting::preview()} method is called for settings 186 * not handled as theme_mods or options. 187 * 178 188 * The dynamic portion of the hook name, `$this->id`, refers to the setting ID. 179 189 * 180 190 * @since 3.4.0 … … 381 391 default : 382 392 383 393 /** 394 * Filter a Customize setting value by its type. 395 * 396 * The dynamic portion of the hook name, `$this->type`, refers to 397 * theme_mods or options 398 * 399 * For settings handled as theme_mods or options, see those corresponding 400 * functions for available hooks. 401 * 402 * @since 4.2 403 * 404 * @param mixed $default The setting default value. Default empty. 405 * @param WP_Customize_Setting $this {@see WP_Customize_Setting} instance. 406 */ 407 apply_filters( 'customize_value_' . $this->type, $this->default, $this ); 408 409 /** 384 410 * Filter a Customize setting value not handled as a theme_mod or option. 385 411 * 386 412 * The dynamic portion of the hook name, `$this->id_date['base']`, refers to
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)