Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks

Tax::get_automated_support_countries()public staticWC 1.0

Get an array of countries that support automated tax.

Method of the class: Tax{}

No Hooks.

Return

Array.

Usage

$result = Tax::get_automated_support_countries();

Tax::get_automated_support_countries() code WC 7.1.0

public static function get_automated_support_countries() {
	// https://developers.taxjar.com/api/reference/#countries .
	$tax_supported_countries = array_merge(
		array( 'US', 'CA', 'AU', 'GB' ),
		WC()->countries->get_european_union_countries()
	);

	return $tax_supported_countries;
}