Documentation

AdInitiator extends AbstractInitiator
in package
Uses UtilsProvider

Initiate real-utils functionality.

Table of Contents

Properties

$welcomePage  : WelcomePage
Welcome page.

Methods

getAssetsUrl()  : mixed
Get the external URL to assets. The default implementation relies on "wp-{TD}". Why TD? The text domain is currently always the same as the slug, even if we are using the lite version. Please ensure a trailing slash, if you override it!
getHeroButton()  : array<string|int, string>|null
Documented in AbstractInitiator.
getKeyFeatures()  : array<string|int, array<string|int, mixed>>
Documented in AbstractInitiator.
getNextRatingPopup()  : mixed
Documented in AbstractInitiator.
getPluginAssets()  : Assets
Documented in AbstractInitiator.
getPluginBase()  : Base
Documented in AbstractInitiator.
getPluginConstantPrefix()  : string
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
getPluginFile()  : mixed
getPluginSlug()  : mixed
getRateLink()  : string
Documented in AbstractInitiator.
getSupportLink()  : mixed
Get support link. Visible in welcome page.
getWelcomePage()  : mixed
Get welcome page.
getWelcomePageImageHeight()  : int
Get the image height for the welcome page key features.
start()  : mixed
Initialize all available things depending on the configuration.

Properties

Methods

getAssetsUrl()

Get the external URL to assets. The default implementation relies on "wp-{TD}". Why TD? The text domain is currently always the same as the slug, even if we are using the lite version. Please ensure a trailing slash, if you override it!

public getAssetsUrl([string $path = '' ]) : mixed
Parameters
$path : string = ''

getHeroButton()

Documented in AbstractInitiator.

public getHeroButton() : array<string|int, string>|null
Tags
codeCoverageIgnore
Return values
array<string|int, string>|null

getKeyFeatures()

Documented in AbstractInitiator.

public getKeyFeatures() : array<string|int, array<string|int, mixed>>
Tags
codeCoverageIgnore
Return values
array<string|int, array<string|int, mixed>>

getNextRatingPopup()

Documented in AbstractInitiator.

public getNextRatingPopup(bool $isFirstTime) : mixed
Parameters
$isFirstTime : bool
Tags
codeCoverageIgnore

getPluginAssets()

Documented in AbstractInitiator.

public getPluginAssets() : Assets
Tags
codeCoverageIgnore
Return values
Assets

getPluginBase()

Documented in AbstractInitiator.

public getPluginBase() : Base
Tags
codeCoverageIgnore
Return values
Base

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

Documented in AbstractInitiator.

public getRateLink() : string
Tags
codeCoverageIgnore
Return values
string

Get support link. Visible in welcome page.

public getSupportLink() : mixed
Tags
codeCoverageIgnore

getWelcomePage()

Get welcome page.

public getWelcomePage() : mixed
Tags
codeCoverageIgnore

getWelcomePageImageHeight()

Get the image height for the welcome page key features.

public getWelcomePageImageHeight() : int
Tags
codeCoverageIgnore
Return values
int

start()

Initialize all available things depending on the configuration.

public start() : mixed

        
On this page

Search results