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 9.6.1
abstract protected function is_extension_active(): bool;