WordPress at Your Fingertips
function is not described

WC_Customer::set_billing_phone() public WC 1.0

Set billing_phone.

{} It's a method of the class: WC_Customer{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Customer = new WC_Customer();
$WC_Customer->set_billing_phone( $value );
$value(string) (required)
Billing phone.

Code of WC_Customer::set_billing_phone() WC 5.9.0

public function set_billing_phone( $value ) {
	$this->set_address_prop( 'phone', 'billing', $value );
}