WC_Countries::countries_using_vat()
Deprecated from version 4.0.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
Gets an array of Non-EU countries that use VAT as the Local name for their taxes based on this list - https://en.wikipedia.org/wiki/Value-added_tax#Non-European_Union_countries
Method of the class: WC_Countries{}
Hooks from the method
Return
String[]
.
Usage
$WC_Countries = new WC_Countries(); $WC_Countries->countries_using_vat();
Changelog
Since 3.9.0 | Introduced. |
Deprecated since | 4.0.0 |
WC_Countries::countries_using_vat() WC Countries::countries using vat code WC 9.3.3
public function countries_using_vat() { wc_deprecated_function( 'countries_using_vat', '4.0', 'WC_Countries::get_vat_countries' ); $countries = array( 'AE', 'AL', 'AR', 'AZ', 'BB', 'BH', 'BO', 'BS', 'BY', 'CL', 'CO', 'EC', 'EG', 'ET', 'FJ', 'GH', 'GM', 'GT', 'IL', 'IN', 'IR', 'KN', 'KR', 'KZ', 'LK', 'MD', 'ME', 'MK', 'MN', 'MU', 'MX', 'NA', 'NG', 'NP', 'PS', 'PY', 'RS', 'RU', 'RW', 'SA', 'SV', 'TH', 'TR', 'UA', 'UY', 'UZ', 'VE', 'VN', 'ZA' ); return apply_filters( 'woocommerce_countries_using_vat', $countries ); }