Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks
Tax::get_automated_support_countries
Get an array of countries that support automated tax.
Method of the class: Tax{}
No Hooks.
Returns
Array.
Usage
$result = Tax::get_automated_support_countries();
Tax::get_automated_support_countries() Tax::get automated support countries code WC 10.5.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;
}