WP_Customize_Panel::active_callback()publicWP 4.1.0

Subclasses can override this with their specific logic, or they may provide an 'active_callback' argument to the constructor.

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

Хуков нет.

Возвращает

true|false. Always true.

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

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

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

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

Код WP_Customize_Panel::active_callback() WP 6.1.1

public function active_callback() {
	return true;
}