хук-действие
динамический since 3.4.0
customize_preview_{$this->id}
Проверено на WordPress 6.9, обновлено Источник: WordPress Developer Resources.
Сигнатура
do_action( "customize_preview_{$this->id}", WP_Customize_Setting $setting )
Описание
Динамическая часть имени хука, $this->id, соответствует ID настройки.
Оригинал (английский)
The dynamic portion of the hook name, $this->id, refers to the setting ID.
Динамические части имени
{$this->id}- Динамическая часть имени хука.
Параметры
$setting
WP_Customize_Setting
обязательный
Экземпляр WP_Customize_Setting.
Исходный код
wp-includes/class-wp-customize-setting.php:405
do_action( "customize_preview_{$this->id}", $this );
История изменений
| Версия | Описание |
|---|---|
| 3.4.0 | Introduced. |

