WP_Customize_Control::active_callback()publicWP 4.0.0

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

{} Это метод класса: WP_Customize_Control{}

Хуков нет.

Возвращает

true. Always true.

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

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

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

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

Код WP_Customize_Control::active_callback() WP 6.0

public function active_callback() {
	return true;
}