Official ZPE/YASS documentationget_ip_remote_address
get_remote_ip_address () ⇒ mixed
Attempts to return the current systems IP public/remote address. May return false on failure.
First available: Version 1.9.5
Notes
This predefined function uses the jsonip.com and api.ipify.org services to attempt to fetch information regarding the public IP address of the computer system. First, the function attempts the jsonip.com service and if it fails to fetch information from there it moves to the api.ipify.org service. If both fail it returns a boolean false.
There are no comments on this page.