$visitor->ip() Sets the ip address if provided or returns the ip of the current visitor otherwise kirby/src/Http/Visitor.php#L227 $visitor->ip(string $ip = null): string|Visitor|null Parameters Name Type Default $ip string null Return type string|Visitor|null Parent class Kirby\Http\Visitor