Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives

Incentive::get_incentivesprotectedWC 1.0

Get eligible incentives.

Method of the class: Incentive{}

No Hooks.

Returns

Array. List of eligible incentives.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_incentives( $country_code ): array;
$country_code(string) (required)
The business location country code to get incentives for.

Incentive::get_incentives() code WC 10.5.0

abstract protected function get_incentives( string $country_code ): array;