SettingsMenuPage extends AbstractMenuPage
in package

Table of Contents

TAB_ADMIN_EMAILS  = 'admin_emails'
TAB_ADVANCED  = 'advanced'
TAB_CUSTOMER_EMAILS  = 'customer_emails'
TAB_EMAIL_SETTINGS  = 'global_emails'
TAB_EXTENSIONS  = 'extensions'
TAB_GENERAL  = 'general'
TAB_LICENSE  = 'license'
TAB_PAYMENTS  = 'payments'
$capability  : mixed
$menuSlug  : mixed
$menuTitle  : mixed
$name  : mixed
$order  : mixed
$pageTitle  : mixed
$parentMenu  : mixed
$screenId  : mixed
$tabs  : array<string|int, SettingsTab>
$titleActions  : array<string|int, mixed>
Custom actions that output just after the page heading
__construct()  : mixed
addActions()  : mixed
addTitleAction()  : mixed
addTitleActionsScript()  : mixed
createMenu()  : mixed
detectSubTab()  : string
detectTab()  : mixed
enqueueAdminScripts()  : mixed
getName()  : mixed
getUrl()  : mixed
Retrieve Url of Motopress Hotel Booking Settings Page
initFields()  : mixed
isCurrentPage()  : bool
onLoad()  : mixed
registerSettings()  : mixed
render()  : mixed
renderNotices()  : mixed
save()  : mixed
filterGroupFields()  : mixed
generateTabs()  : mixed
getMenuTitle()  : mixed
getPageTitle()  : mixed
_generateAdminEmailsTab()  : SettingsTab
_generateAdvancedTab()  : SettingsTabAdvanced
_generateCustomerEmailsTab()  : SettingsTab
_generateExtensionsTab()  : mixed
_generateGeneralTab()  : SettingsTab
_generateGlobalEmailSettingsTab()  : SettingsTab
_generateLicenseTab()  : SettingsTab
_generatePaymentsTab()  : SettingsTab
renderTabs()  : mixed

Constants

TAB_ADMIN_EMAILS

public mixed TAB_ADMIN_EMAILS = 'admin_emails'

TAB_ADVANCED

public mixed TAB_ADVANCED = 'advanced'

TAB_CUSTOMER_EMAILS

public mixed TAB_CUSTOMER_EMAILS = 'customer_emails'

TAB_EMAIL_SETTINGS

public mixed TAB_EMAIL_SETTINGS = 'global_emails'

TAB_EXTENSIONS

public mixed TAB_EXTENSIONS = 'extensions'

TAB_GENERAL

public mixed TAB_GENERAL = 'general'
Tags
since
4.2.4

TAB_LICENSE

public mixed TAB_LICENSE = 'license'

TAB_PAYMENTS

public mixed TAB_PAYMENTS = 'payments'

Properties

$capability

protected mixed $capability

$menuSlug

protected mixed $menuSlug

$menuTitle

protected mixed $menuTitle

$name

protected mixed $name

$order

protected mixed $order

$pageTitle

protected mixed $pageTitle

$parentMenu

protected mixed $parentMenu

$screenId

protected mixed $screenId

$tabs

protected array<string|int, SettingsTab> $tabs = array()

$titleActions

Custom actions that output just after the page heading

protected array<string|int, mixed> $titleActions = array()

Methods

__construct()

public __construct() : mixed
Return values
mixed

addActions()

public addActions() : mixed
Return values
mixed

addTitleAction()

public addTitleAction(mixed $label, mixed $url[, mixed $options = array() ]) : mixed
Parameters
$label : mixed
$url : mixed
$options : mixed = array()
Return values
mixed

addTitleActionsScript()

public addTitleActionsScript() : mixed
Return values
mixed

createMenu()

public createMenu() : mixed
Return values
mixed

detectSubTab()

public detectSubTab() : string
Tags
since
3.7.0

Became public (was private before).

Return values
string

detectTab()

public detectTab() : mixed
Tags
since
3.7.0

Became public (was private before).

Return values
mixed

enqueueAdminScripts()

public enqueueAdminScripts() : mixed
Return values
mixed

getName()

public getName() : mixed
Return values
mixed

getUrl()

Retrieve Url of Motopress Hotel Booking Settings Page

public getUrl([array<string|int, mixed> $additionalArgs = array() ]) : mixed
Parameters
$additionalArgs : array<string|int, mixed> = array()
Return values
mixed

initFields()

public initFields() : mixed
Return values
mixed

isCurrentPage()

public isCurrentPage([array<string|int, mixed> $atts = array() ]) : bool
Parameters
$atts : array<string|int, mixed> = array()
Return values
bool

onLoad()

public onLoad() : mixed
Return values
mixed

registerSettings()

public registerSettings() : mixed
Return values
mixed

render()

public render() : mixed
Return values
mixed

renderNotices()

public renderNotices() : mixed
Return values
mixed

save()

public save() : mixed
Return values
mixed

filterGroupFields()

protected filterGroupFields(SettingsGroup $fieldsGroup) : mixed
Parameters
$fieldsGroup : SettingsGroup
Tags
since
3.0.3
since
4.2.4

filters the SettingsGroup object.

Return values
mixed

generateTabs()

protected generateTabs() : mixed
Tags
since
4.2.4
Return values
mixed

getMenuTitle()

protected getMenuTitle() : mixed
Return values
mixed

getPageTitle()

protected getPageTitle() : mixed
Return values
mixed

_generateAdminEmailsTab()

private _generateAdminEmailsTab() : SettingsTab
Return values
SettingsTab

_generateCustomerEmailsTab()

private _generateCustomerEmailsTab() : SettingsTab
Return values
SettingsTab

_generateExtensionsTab()

private _generateExtensionsTab() : mixed
Return values
mixed

_generateGeneralTab()

private _generateGeneralTab() : SettingsTab
Return values
SettingsTab

_generateGlobalEmailSettingsTab()

private _generateGlobalEmailSettingsTab() : SettingsTab
Return values
SettingsTab

_generateLicenseTab()

private _generateLicenseTab() : SettingsTab
Return values
SettingsTab

_generatePaymentsTab()

private _generatePaymentsTab() : SettingsTab
Return values
SettingsTab

renderTabs()

private renderTabs() : mixed
Return values
mixed

Search results