Constants

OPTION_GROUP

OPTION_GROUP ='options'

SETTING_FORWARD_TO

SETTING_FORWARD_TO =RCB_OPT_PREFIX . '-forward-to'

SETTING_CROSS_DOMAINS

SETTING_CROSS_DOMAINS =RCB_OPT_PREFIX . '-cross-domains'

DEFAULT_FORWARD_TO

DEFAULT_FORWARD_TO =''

DEFAULT_CROSS_DOMAINS

DEFAULT_CROSS_DOMAINS =''

Properties

Methods

overrideEnableOptionsAutoload()

overrideEnableOptionsAutoload()

overrideRegister()

overrideRegister()

updated_option_forward_to()

updated_option_forward_to(string  $option)

The option "Forward to" got updated. Let's iterate all available sites and activate consent forwarding automatically.

Parameters

string $option

Name of the updated option

isConsentForwarding()

isConsentForwarding()

getForwardTo()

getForwardTo()

getCrossDomains()

getCrossDomains()

getPluginConstantPrefix()

getPluginConstantPrefix(): string

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

Returns

string

enableOptionsAutoload()

enableOptionsAutoload()

Initially `add_option` to avoid autoloading issues.

register()

register()

Register settings.

__construct()

__construct()

C'tor.