$request->ip()

Returns the IP address of the current visitor

  • return (string)
echo kirby()->request()->ip();