Function epl_contact_capture_get_ip
Resolve the client IP for rate limiting.
Deliberately uses REMOTE_ADDR only (not X-Forwarded-For), which cannot be spoofed at the TCP layer and so is the safe default for an abuse control.
Package: EPL\Functions\Templates
Copyright: Copyright (c) 2020, Merv Barrett
License: GNU Public License
Since: 3.5.25
Located at lib/includes/template-functions.php
Copyright: Copyright (c) 2020, Merv Barrett
License: GNU Public License
Since: 3.5.25
Located at lib/includes/template-functions.php
Return value summary
string
|
Validated IP address, or '' if unavailable. |