Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives

Incentive::is_extension_active()protectedWC 1.0

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() WC 9.6.1

abstract protected function is_extension_active(): bool;