ManageServicesPage
extends ManagePostsPage
in package
Tags
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
Methods
__construct()
public
__construct(string $postType) : mixed
Parameters
- $postType : string
Tags
Return values
mixed —displayDescription()
public
displayDescription() : mixed
Tags
Return values
mixed —filterColumns()
public
filterColumns(array<string|int, mixed> $columns) : array<string|int, mixed>
Parameters
- $columns : array<string|int, mixed>
Tags
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
Return values
array<string|int, mixed> —getDescription()
public
getDescription() : string
Tags
Return values
string —getUrl()
public
getUrl([array<string|int, mixed> $additionalArgs = [] ]) : string
Parameters
- $additionalArgs : array<string|int, mixed> = []
-
Optional.
Tags
Return values
string —isCurrentPage()
public
isCurrentPage() : bool
Tags
Return values
bool —isCurrentTrashPage()
public
isCurrentTrashPage() : bool
Tags
Return values
bool —manageCustomColumn()
Fires only for custom columns.
public
manageCustomColumn(string $columnName, int $postId) : mixed
Parameters
- $columnName : string
- $postId : int
Tags
Return values
mixed —maybeEnqueueScripts()
public
maybeEnqueueScripts() : mixed
Tags
Return values
mixed —onLoad()
public
onLoad() : mixed
Tags
Return values
mixed —addActions()
protected
addActions() : mixed
Tags
Return values
mixed —customColumns()
protected
customColumns() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —customSortableColumns()
protected
customSortableColumns() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —displayValue()
protected
displayValue(string $columnName, Service $entity) : string
Parameters
- $columnName : string
- $entity : Service
Tags
Return values
string —enqueueScripts()
protected
enqueueScripts() : mixed