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
$welcomePage
Welcome page.
private
WelcomePage
$welcomePage
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
Return values
array<string|int, string>|nullgetKeyFeatures()
Documented in AbstractInitiator.
public
getKeyFeatures() : array<string|int, array<string|int, mixed>>
Tags
Return values
array<string|int, array<string|int, mixed>>getNextRatingPopup()
Documented in AbstractInitiator.
public
getNextRatingPopup(bool $isFirstTime) : mixed
Parameters
- $isFirstTime : bool
Tags
getPluginAssets()
Documented in AbstractInitiator.
public
getPluginAssets() : Assets
Tags
Return values
AssetsgetPluginBase()
Documented in AbstractInitiator.
public
getPluginBase() : Base
Tags
Return values
BasegetPluginConstantPrefix()
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
public
getPluginConstantPrefix() : string
Tags
Return values
stringgetPluginFile()
public
getPluginFile() : mixed
getPluginSlug()
public
getPluginSlug() : mixed
getRateLink()
Documented in AbstractInitiator.
public
getRateLink() : string
Tags
Return values
stringgetSupportLink()
Get support link. Visible in welcome page.
public
getSupportLink() : mixed
Tags
getWelcomePage()
Get welcome page.
public
getWelcomePage() : mixed
Tags
getWelcomePageImageHeight()
Get the image height for the welcome page key features.
public
getWelcomePageImageHeight() : int
Tags
Return values
intstart()
Initialize all available things depending on the configuration.
public
start() : mixed