\DevOwl\RealCookieBannerDemoEnvironment

Handle try.devowl.io specific settings, e. g. hide preset attributes.

Summary

Methods
Properties
Constants
getPluginConstantPrefix()
cookiePresets()
blockerPresets()
isDemoEnv()
getInstance()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
__construct()
$me
N/A

Properties

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

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

Returns

string

cookiePresets()

cookiePresets(array<mixed,string>  $presets)

Remove all PRO cookie presets from demo environment.

Parameters

array<mixed,string> $presets

blockerPresets()

blockerPresets(array  $presets)

Remove all PRO blocker presets from demo environment.

Parameters

array $presets

isDemoEnv()

isDemoEnv()

Checks if the current running WordPress instance is configured as sandbox because then some configurations are not allowed to change.

getInstance()

getInstance()

Get singleton instance.

__construct()

__construct()

C'tor.