WordPress at a glance
function is not described

WP_Customize_Panel::active_callback() public WP 4.1.0

Default callback used when invoking WP_Customize_Panel::active().

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

{} It's a method of the class: WP_Customize_Panel{}

No Hooks.

Return

true|false. Always true.

Usage

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

Changelog

Since 4.1.0 Introduced.

Code of WP_Customize_Panel::active_callback() WP 5.7.2

<?php
public function active_callback() {
	return true;
}