WC_Admin_Duplicate_Product::generate_unique_slug()

Method: Generates a unique slug for a given product. We do this so that we can override the behavior of wp_unique_post_slug(). The normal slug generation will run single select queries on every non-unique slug, resulting in very bad performance.

Source: includes/admin/class-wc-admin-duplicate-product.php:255

Used by 1 function | Uses 0 functions

WC_Countries::countries_using_vat()

Method: 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

Source: includes/class-wc-countries.php:384

Used by 0 functions | Uses 1 function