WP_Customize_Panel::active_callback(): bool

In this article

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

Description

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

Return

bool Always true.

Source

public function active_callback() {
	return true;
}

Changelog

VersionDescription
4.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.