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
{} It's a 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 | 4.0.0 |
Code of WC_Countries::countries_using_vat() WC Countries::countries using vat WC 6.7.0
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 ); }