❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$request->ip()
Returns the IP address of the current visitor
return
(string)
echo kirby()->request()->ip();
↑
Cheat Sheet overview
←
$request->has($key)
→
$request->is()
↓
Back to Cheat Sheet section
Top