WC_Legacy_Customer::set_city() public WC 1.0
Legacy set city.
{} It's a method of the class: WC_Legacy_Customer{}
No Hooks.
Return
Null. Nothing.
Usage
$WC_Legacy_Customer = new WC_Legacy_Customer(); $WC_Legacy_Customer->set_city( $city );
- $city(string) (required)
- -
Code of WC_Legacy_Customer::set_city() WC Legacy Customer::set city WC 5.0.0
function set_city( $city ) {
wc_deprecated_function( 'WC_Customer::set_city', '3.0', 'WC_Customer::set_billing_city' );
$this->set_billing_city( $city );
}