customize_render_control_{$this->id}

动作钩子


do_action( "customize_render_control_{$this->id}", $this )
参数
  • (WP_Customize_Control)
    $control
    WP_Customize_Control instance.
    Required:
定义位置
  • wp-includes/class-wp-customize-control.php
    , line 415
引入
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.

do_action( "customize_render_control_{$this->id}", $this );