WordPress at Your Fingertips
function is not described

WC_Order::set_customer_ip_address() public WC 1.0

Set customer ip address.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Order = new WC_Order();
$WC_Order->set_customer_ip_address( $value );
$value(string) (required)
Customer ip address.

Code of WC_Order::set_customer_ip_address() WC 5.8.0

public function set_customer_ip_address( $value ) {
	$this->set_prop( 'customer_ip_address', $value );
}