WC_Order::get_customer_ip_address( string $context = 'view' )
Get customer ip address.
Description Description
Parameters Parameters
- $context
-
(Optional) What the value is for. Valid values are view and edit.
Default value: 'view'
Return Return
(string)
Source Source
File: includes/class-wc-order.php
781 782 783 | public function get_customer_ip_address( $context = 'view' ) { return $this ->get_prop( 'customer_ip_address' , $context ); } |