Documentation

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

Methods

getInstance()

Get singleton instance.

public static getInstance() : mixed
Tags
codeCoverageIgnore

getPluginConstantPrefix()

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

public getPluginConstantPrefix() : string
Tags
codeCoverageIgnore

It only returns a string with the constant prefix

Return values
string

isDemoEnv()

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

public isDemoEnv() : mixed

        
On this page

Search results