WC_Legacy_Customer::set_country( string $country )
Legacy set country.
Description Description
Parameters Parameters
- $country
-
(Required)
Source Source
File: includes/legacy/class-wc-legacy-customer.php
function set_country( $country ) {
wc_deprecated_function( 'WC_Customer::set_country', '3.0', 'WC_Customer::set_billing_country' );
$this->set_billing_country( $country );
}