customize_render_control_(id) хук-событие . WP 3.4.0
Fires just before a specific Customizer control is rendered.
The dynamic portion of the hook name, $this->id, refers to the control ID.
Использование
add_action( 'customize_render_control_(id)', 'action_function_name_4681' ); function action_function_name_4681( $this ){ // action... }
- $this(WP_Customize_Control)
- WP_Customize_Control instance.
Список изменений
С версии 3.4.0 | Введена. |
Где вызывается хук
customize_render_control_(id)
wp-includes/class-wp-customize-control.php 414
do_action( "customize_render_control_{$this->id}", $this );