Methods

overrideEnableOptionsAutoload()

overrideEnableOptionsAutoload()

Initially add PRO-only options.

overrideRegister()

overrideRegister()

Register PRO-only options.

probablyUpdateGvl()

probablyUpdateGvl()

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

updateGvl()

updateGvl(boolean  $force = false): true|\WP_Error

Update the GVL `vendor-list` and persist to database.

Parameters

boolean $force

Skip isActive check and download immediate

Returns

true|\WP_Error

clearGvl()

clearGvl()

Completely clear all database tables for GVL.

isActive()

isActive(): boolean

Check if compatibility is enabled.

Returns

boolean

getPublisherCountryCode()

getPublisherCountryCode(): string

Get publisher country code.

Returns

string

getFirstAcceptedTime()

getFirstAcceptedTime(): string|null

Check when the compatibility got enabled the first time.

Returns

string|null

getAcceptedTime()

getAcceptedTime(): string|null

Check when the compatibility got enabled.

Returns

string|null

getGvlDownloadTime()

getGvlDownloadTime(): string|null

Check when the GVL got downloaded at latest.

Returns

string|null

getScopeOfConsent()

getScopeOfConsent(): string

Get scope of consent.

Returns

string —

Can be service