WC_Customer_Download_Log::get_user_ip_address()publicWC 1.0

Get user ip address.

Метод класса: WC_Customer_Download_Log{}

Хуков нет.

Возвращает

Строку.

Использование

$WC_Customer_Download_Log = new WC_Customer_Download_Log();
$WC_Customer_Download_Log->get_user_ip_address( $context );
$context(строка)
Get context.
По умолчанию: 'view'

Код WC_Customer_Download_Log::get_user_ip_address() WC 8.7.0

public function get_user_ip_address( $context = 'view' ) {
	return $this->get_prop( 'user_ip_address', $context );
}