ReportsMenuPage extends AbstractMenuPage
in package

Tags
since
3.5.0

Table of Contents

$capability  : mixed
$menuSlug  : mixed
$menuTitle  : mixed
$name  : mixed
$order  : mixed
$pageTitle  : mixed
$parentMenu  : mixed
$report  : mixed
$screenId  : mixed
$tabs  : array<string|int, mixed>
$titleActions  : array<string|int, mixed>
Custom actions that output just after the page heading
__construct()  : mixed
addActions()  : mixed
addTitleAction()  : mixed
addTitleActionsScript()  : mixed
createMenu()  : mixed
enqueueReportScripts()  : mixed
enqueueScripts()  : mixed
getName()  : mixed
getUrl()  : mixed
isCurrentPage()  : bool
onLoad()  : mixed
render()  : mixed
getCurrentTab()  : mixed
getMenuTitle()  : mixed
getPageTitle()  : mixed
renderExportTab()  : mixed
renderReportsTab()  : mixed

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

$report

protected mixed $report

$screenId

protected mixed $screenId

$tabs

protected array<string|int, mixed> $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

enqueueReportScripts()

public enqueueReportScripts() : mixed
Return values
mixed

enqueueScripts()

public enqueueScripts() : mixed
Return values
mixed

getName()

public getName() : mixed
Return values
mixed

getUrl()

public getUrl([mixed $additionalArgs = array() ]) : mixed
Parameters
$additionalArgs : mixed = array()
Return values
mixed

isCurrentPage()

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

use function after admin_init hook (current_screen for ex.)

Return values
bool

onLoad()

public onLoad() : mixed
Tags
since
3.9.7

Original tab Reports is moved to a new tab Exports. Tab Reports is added.

Return values
mixed

render()

public render() : mixed
Return values
mixed

getCurrentTab()

protected getCurrentTab() : mixed
Return values
mixed

getMenuTitle()

protected getMenuTitle() : mixed
Return values
mixed

getPageTitle()

protected getPageTitle() : mixed
Return values
mixed

renderExportTab()

protected renderExportTab() : mixed
Tags
since
3.7.0

added new filter - "mphb_export_bookings_methods".

since
3.9.7

'renderExportTab'

Return values
mixed

renderReportsTab()

protected renderReportsTab() : mixed
Tags
since
3.9.7
Return values
mixed

Search results