ManageBookingsPage extends ManagePostsPage
in package

Tags
since
1.0

Table of Contents

$postType  : string
__construct()  : mixed
displayDescription()  : mixed
filterColumns()  : array<string|int, mixed>
filterSortableColumns()  : array<string|int, mixed>
getDescription()  : string
getUrl()  : string
isCurrentPage()  : bool
isCurrentTrashPage()  : bool
manageCustomColumn()  : mixed
Fires only for custom columns.
maybeEnqueueScripts()  : mixed
onLoad()  : mixed
addActions()  : mixed
customColumns()  : array<string|int, mixed>
customSortableColumns()  : array<string|int, mixed>
displayValue()  : string
enqueueScripts()  : mixed

Properties

$postType

protected string $postType
Tags
since
1.0

Methods

__construct()

public __construct(string $postType) : mixed
Parameters
$postType : string
Tags
since
1.0
Return values
mixed

displayDescription()

public displayDescription() : mixed
Tags
access

protected

since
1.13.0
Return values
mixed

filterColumns()

public filterColumns(array<string|int, mixed> $columns) : array<string|int, mixed>
Parameters
$columns : array<string|int, mixed>
Tags
access

protected

since
1.0
Return values
array<string|int, mixed>

filterSortableColumns()

public filterSortableColumns(array<string|int, mixed> $columns) : array<string|int, mixed>
Parameters
$columns : array<string|int, mixed>
Tags
access

protected

since
1.0
Return values
array<string|int, mixed>

getDescription()

public getDescription() : string
Tags
since
1.13.0
Return values
string

getUrl()

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

Optional.

Tags
since
1.0
Return values
string

isCurrentPage()

public isCurrentPage() : bool
Tags
global

string $pagenow

global

string|null $typenow Is null if called too early.

since
1.0
Return values
bool

isCurrentTrashPage()

public isCurrentTrashPage() : bool
Tags
since
1.0
Return values
bool

manageCustomColumn()

Fires only for custom columns.

public manageCustomColumn(string $columnName, int $postId) : mixed
Parameters
$columnName : string
$postId : int
Tags
access

protected

since
1.0
Return values
mixed

maybeEnqueueScripts()

public maybeEnqueueScripts() : mixed
Tags
access

protected

since
1.0
Return values
mixed

onLoad()

public onLoad() : mixed
Tags
access

protected

since
1.0
Return values
mixed

addActions()

protected addActions() : mixed
Tags
since
1.0
Return values
mixed

customColumns()

protected customColumns() : array<string|int, mixed>
Tags
since
1.0
Return values
array<string|int, mixed>

customSortableColumns()

protected customSortableColumns() : array<string|int, mixed>
Tags
since
1.0
Return values
array<string|int, mixed>

displayValue()

protected displayValue(string $columnName, Booking $entity) : string
Parameters
$columnName : string
$entity : Booking
Tags
since
1.0
Return values
string

enqueueScripts()

protected enqueueScripts() : mixed
Tags
since
1.0
Return values
mixed

Search results