Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives

Incentive::is_extension_active()protectedWC 1.0

Check if the corresponding extension suggestion plugin is active.

Method of the class: Incentive{}

No Hooks.

Return

true|false. Whether the corresponding extension suggestion plugin is active.

Usage

// protected - for code of main (parent) or child class
$result = $this->is_extension_active(): bool;

Incentive::is_extension_active() code WC 9.6.0

abstract protected function is_extension_active(): bool;