WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WP_Customize_Panel::active() public WP 4.1.0

Check whether panel is active to current Customizer preview.

Это метод класса: WP_Customize_Panel{}

Хуки из метода
Возвращает

true/false. Whether the panel is active to the current preview.

Использование

$WP_Customize_Panel = new WP_Customize_Panel();
$WP_Customize_Panel->active();

Список изменений

С версии 4.1.0 Введена.

Код WP_Customize_Panel::active() WP 5.5.1

wp-includes/class-wp-customize-panel.php
<?php
final public function active() {
	$panel  = $this;
	$active = call_user_func( $this->active_callback, $this );

	/**
	 * Filters response of WP_Customize_Panel::active().
	 *
	 * @since 4.1.0
	 *
	 * @param bool               $active Whether the Customizer panel is active.
	 * @param WP_Customize_Panel $panel  WP_Customize_Panel instance.
	 */
	$active = apply_filters( 'customize_panel_active', $active, $panel );

	return $active;
}