IOverrideCountryBypass
in
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
clearDatabase()
Completely clear all database tables.
public
clearDatabase() : mixed
getDatabaseDownloadTime()
Check when the database got downloaded at latest.
public
getDatabaseDownloadTime() : string|null
Return values
string|nulloverrideEnableOptionsAutoload()
Initially add PRO-only options.
public
overrideEnableOptionsAutoload() : mixed
overrideRegister()
Register PRO-only options.
public
overrideRegister() : 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