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

WP_Customize_Section::active() public WP 4.1.0

Check whether section is active to current Customizer preview.

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

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

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

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

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

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

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

Код WP Customize Section::active: wp-includes/class-wp-customize-section.php WP 5.5.1

<?php
final public function active() {
	$section = $this;
	$active  = call_user_func( $this->active_callback, $this );

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

	return $active;
}