Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives
Incentive::is_extension_active()
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() Incentive::is extension active code WC 9.6.0
abstract protected function is_extension_active(): bool;