WC_Legacy_Customer::set_postcode()publicWC 1.0

Legacy set postcode.

Method of the class: WC_Legacy_Customer{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->set_postcode( $postcode );
$postcode(string) (required)
-

WC_Legacy_Customer::set_postcode() code WC 9.0.1

function set_postcode( $postcode ) {
	wc_deprecated_function( 'WC_Customer::set_postcode', '3.0', 'WC_Customer::set_billing_postcode' );
	$this->set_billing_postcode( $postcode );
}