Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives

Incentive::is_extension_active │ protected │ WC 1.0

Check if the corresponding extension suggestion plugin is active.

Метод класса: Incentive{}

Хуков нет.

Возвращает

boolean. Whether the corresponding extension suggestion plugin is active.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->is_extension_active(): bool;

Код Incentive::is_extension_active() WC 11.2.2

abstract protected function is_extension_active(): bool;