-
-
Notifications
You must be signed in to change notification settings - Fork 39
Record Properties
Benjamin Pick edited this page May 14, 2018
·
12 revisions
Additional to the Maxmind properties, this wordpress plugin adds some properties:
$record->isEmpty
(since 2.0.0) TRUE if the record does not contain any data. This can happen because not every IP has related information.
$record->extra->cached
(since 2.4.0) 0 if not cached. A unix timestamp if cached (contains the time when it was cached)
$record->extra->source
(since 2.4.0) Source that this record is coming from.
$record->extra->error
(since 2.4.0)
Error message of this lookup, if any. In error case $record->isEmpty is TRUE.
Content of this documentation is available under Creative Commons Attribution-Share Alike 3.0 Unported License. Feel free to improve it by logging in with a Github user and editing it.