Automattic\WooCommerce\Internal\Admin\Suggestions\Incentives
Incentive::get_incentives()
Get eligible incentives.
Method of the class: Incentive{}
No Hooks.
Return
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 9.6.0
abstract protected function get_incentives( string $country_code ): array;