Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives
Incentive::is_extension_active
Check if the corresponding extension suggestion plugin is active.
Метод класса: Incentive{}
Хуков нет.
Возвращает
true|false. Whether the corresponding extension suggestion plugin is active.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->is_extension_active(): bool;
Код Incentive::is_extension_active() Incentive::is extension active WC 10.5.2
abstract protected function is_extension_active(): bool;