wpseek.com
WordPress开发者和主题制作者的搜索引擎



customize_control_active › WordPress过滤钩子

Since4.0.0
已弃用n/a
apply_filters( 'customize_control_active', $active, $control )
参数: (2)
  • (bool) $active Whether the Customizer control is active.
    Required: Yes
  • (WP_Customize_Control) $control WP_Customize_Control instance.
    Required: Yes
定义在:
文档:

Filters response of WP_Customize_Control::active().





源码

$active = apply_filters( 'customize_control_active', $active, $control );