WC_Legacy_Customer::set_country()
Legacy set country.
Метод класса: WC_Legacy_Customer{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Legacy_Customer = new WC_Legacy_Customer(); $WC_Legacy_Customer->set_country( $country );
- $country(строка) (обязательный)
- -
Код WC_Legacy_Customer::set_country() WC Legacy Customer::set country WC 8.7.0
function set_country( $country ) { wc_deprecated_function( 'WC_Customer::set_country', '3.0', 'WC_Customer::set_billing_country' ); $this->set_billing_country( $country ); }