WordPress at Your Fingertips
function is not described

WP_Customize_Control::active_callback() public WP 4.0.0

Default callback used when invoking WP_Customize_Control::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_Control{}

No Hooks.


true. Always true.


$WP_Customize_Control = new WP_Customize_Control();


Since 4.0.0 Introduced.

Code of WP_Customize_Control::active_callback() WP 5.8

public function active_callback() {
	return true;