Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives
Incentive::get_incentives
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() Incentive::get incentives code WC 10.5.0
abstract protected function get_incentives( string $country_code ): array;