RoomManageCPTPage extends ManageCPTPage
in package

Table of Contents

EMPTY_VALUE_PLACEHOLDER  = '—'
$description  : string
Description that output under page heading
$pageActions  : array<string|int, mixed>
Custom actions that output just after the page heading
$postType  : mixed
$titleActions  : array<string|int, mixed>
Custom actions that output just after the page heading
__construct()  : mixed
addDescriptionScript()  : mixed
addGenerateRoomsButtonScript()  : mixed
addTitleAction()  : mixed
addTitleActionsScript()  : mixed
editPostsFilters()  : mixed
enqueueScripts()  : mixed
filterColumns()  : array<string|int, mixed>
filterCustomOrderBy()  : mixed
filterSortableColumns()  : array<string|int, mixed>
filterViews()  : array<string|int, mixed>
getUrl()  : string
isCurrentPage()  : mixed
isCurrentTrashPage()  : mixed
parseQuery()  : mixed
renderColumns()  : mixed
addActionsAndFilters()  : mixed

Constants

EMPTY_VALUE_PLACEHOLDER

public mixed EMPTY_VALUE_PLACEHOLDER = '&#8212;'

Properties

$description

Description that output under page heading

protected string $description

$pageActions

Custom actions that output just after the page heading

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

$postType

protected mixed $postType

$titleActions

Custom actions that output just after the page heading

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

Methods

__construct()

public __construct(mixed $postType[, mixed $atts = array() ]) : mixed
Parameters
$postType : mixed
$atts : mixed = array()
Return values
mixed

addDescriptionScript()

public addDescriptionScript() : mixed
Return values
mixed

addGenerateRoomsButtonScript()

public addGenerateRoomsButtonScript() : 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

editPostsFilters()

public editPostsFilters() : mixed
Return values
mixed

enqueueScripts()

public enqueueScripts() : mixed
Tags
since
3.7.3
since
3.7.3

added new action - "mphb_enqueue_manage_{$postType}s_scripts", where $postType is the post type without prefix "mphb_".

Return values
mixed

filterColumns()

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

filterCustomOrderBy()

public filterCustomOrderBy(mixed $vars) : mixed
Parameters
$vars : mixed
Return values
mixed

filterSortableColumns()

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

filterViews()

public filterViews(array<string|int, mixed> $views) : array<string|int, mixed>
Parameters
$views : array<string|int, mixed>
Return values
array<string|int, mixed>

getUrl()

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

isCurrentPage()

public isCurrentPage() : mixed
Return values
mixed

isCurrentTrashPage()

public isCurrentTrashPage() : mixed
Return values
mixed

parseQuery()

public parseQuery(WP_Query $query) : mixed
Parameters
$query : WP_Query
Return values
mixed

renderColumns()

public renderColumns(string $column, int $postId) : mixed
Parameters
$column : string
$postId : int
Return values
mixed

addActionsAndFilters()

protected addActionsAndFilters() : mixed
Return values
mixed

Search results