WordPress at a glance
function is not described

WC_Order::get_customer_ip_address() public WC 1.0

Get customer ip address.

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

No Hooks.

Return

String.

Usage

$WC_Order = new WC_Order();
$WC_Order->get_customer_ip_address( $context );
$context(string)
What the value is for. Valid values are view and edit.

Code of WC_Order::get_customer_ip_address() WC 5.0.0

<?php
public function get_customer_ip_address( $context = 'view' ) {
	return $this->get_prop( 'customer_ip_address', $context );
}