um_user_ip
Description
This function returns the IP address of the user.
Usage
<?php $user_ip = um_user_ip(); ?>
Returns
Returns the user’s IP address.
Examples
The example below can retrieve the user’s IP address
<?php $user_ip = um_user_ip(); echo 'User IP address is: ' . $user_ip; // prints the user IP address e.g. 127.0.0.1 ?>