Documentation

IOverrideCountryBypass

Table of Contents

Methods

clearDatabase()  : mixed
Completely clear all database tables.
getDatabaseDownloadTime()  : string|null
Check when the database got downloaded at latest.
overrideEnableOptionsAutoload()  : mixed
Initially add PRO-only options.
overrideRegister()  : mixed
Register PRO-only options.
probablyUpdateDatabase()  : mixed
If we need to update the location database (scheduled), let's do this.
updateDatabase()  : true|WP_Error
Update the IP database and persist to our own database.

Methods

getDatabaseDownloadTime()

Check when the database got downloaded at latest.

public getDatabaseDownloadTime() : string|null
Return values
string|null

overrideEnableOptionsAutoload()

Initially add PRO-only options.

public overrideEnableOptionsAutoload() : mixed

probablyUpdateDatabase()

If we need to update the location database (scheduled), let's do this.

public probablyUpdateDatabase() : mixed

updateDatabase()

Update the IP database and persist to our own database.

public updateDatabase([bool $force = false ]) : true|WP_Error
Parameters
$force : bool = false

Skip isActive check and download immediate

Return values
true|WP_Error

        
On this page

Search results