Constants

OPTION_GROUP

OPTION_GROUP ='options'

SETTING_AFFILIATE_LABEL_BEHIND

SETTING_AFFILIATE_LABEL_BEHIND =RCB_OPT_PREFIX . '-affiliate-label-behind'

SETTING_AFFILIATE_DESCRIPTION

SETTING_AFFILIATE_DESCRIPTION =RCB_OPT_PREFIX . '-affiliate-description'

DEFAULT_AFFILIATE_LABEL_BEHIND

DEFAULT_AFFILIATE_LABEL_BEHIND ='*'

Properties

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

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

Returns

string

enableOptionsAutoload()

enableOptionsAutoload()

Initially `add_option` to avoid autoloading issues.

register()

register()

Register settings.

localize()

localize(array  $arr,string  $context)

Localize frontend.

Parameters

array $arr
string $context

getAffiliateLink()

getAffiliateLink()

getAffiliateLabelBehind()

getAffiliateLabelBehind()

getAffiliateDescription()

getAffiliateDescription()

getDefaultTexts()

getDefaultTexts()

Get the affiliate default texts.

__construct()

__construct()

C'tor.