WP_Customize_Control::active_callback()

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


Description

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


Return

(true) Always true.


Source

File: wp-includes/class-wp-customize-control.php

	public function active_callback() {
		return true;
	}

Changelog

Changelog
Version Description
WP-4.0.0 Introduced.