DemoEnvironment
in package
Uses
UtilsProvider
Handle try.devowl.io specific settings, e. g. hide template attributes.
Table of Contents
Properties
- $me : DemoEnvironment
- Singleton instance.
Methods
- getInstance() : mixed
- Get singleton instance.
- getPluginConstantPrefix() : string
- Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
- isDemoEnv() : mixed
- Checks if the current running WordPress instance is configured as sandbox because then some configurations are not allowed to change.
- __construct() : mixed
- C'tor.
Properties
$me
Singleton instance.
private
static DemoEnvironment
$me
= null
Methods
getInstance()
Get singleton instance.
public
static getInstance() : mixed
Tags
getPluginConstantPrefix()
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
public
getPluginConstantPrefix() : string
Tags
Return values
stringisDemoEnv()
Checks if the current running WordPress instance is configured as sandbox because then some configurations are not allowed to change.
public
isDemoEnv() : mixed
__construct()
C'tor.
private
__construct() : mixed