\MatthiasWeb\RealMediaLibraryAdInitiator

Initiate real-utils functionality.

Summary

Methods
Properties
Constants
getPluginConstantPrefix()
getPluginBase()
getPluginAssets()
getRateLink()
getKeyFeatures()
getHeroButton()
getWelcomePageImageHeight()
getSupportLink()
getNextRatingPopup()
getAssetsUrl()
start()
getPluginSlug()
getPluginFile()
getWelcomePage()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$welcomePage
N/A

Properties

$welcomePage

$welcomePage :\DevOwl\RealUtils\WelcomePage

Welcome page.

Type

\DevOwl\RealUtils\WelcomePage

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

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

Returns

string

getPluginBase()

getPluginBase(): \MatthiasWeb\Utils\Base

Documented in AbstractInitiator.

Returns

\MatthiasWeb\Utils\Base

getPluginAssets()

getPluginAssets(): \MatthiasWeb\Utils\Assets

Documented in AbstractInitiator.

Returns

\MatthiasWeb\Utils\Assets

getRateLink()

getRateLink(): string

Documented in AbstractInitiator.

Returns

string

getKeyFeatures()

getKeyFeatures(): array<mixed,array>

Documented in AbstractInitiator.

Returns

array<mixed,array>

getHeroButton()

getHeroButton(): array<mixed,string>|null

Documented in AbstractInitiator.

Returns

array<mixed,string>|null

getWelcomePageImageHeight()

getWelcomePageImageHeight(): integer

Get the image height for the welcome page key features.

Returns

integer

getSupportLink()

getSupportLink()

Get support link. Visible in welcome page.

getNextRatingPopup()

getNextRatingPopup(boolean  $isFirstTime)

Documented in AbstractInitiator.

Parameters

boolean $isFirstTime

This is true if the popup should be shown the first time

getAssetsUrl()

getAssetsUrl(string  $path = '')

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!

Parameters

string $path

start()

start()

Initialize all available things depending on the configuration.

getPluginSlug()

getPluginSlug()

getPluginFile()

getPluginFile()

getWelcomePage()

getWelcomePage()

Get welcome page.