BookingPostType extends AbstractPostType
in package

Tags
since
1.0

Table of Contents

POST_TYPE  = 'mpa_booking'
$entityType  : string
$logs  : PostTypeLogs
$statuses  : BookingStatuses
__construct()  : mixed
getLabel()  : string
getPostType()  : string
getSingularLabel()  : string
logs()  : PostTypeLogs
onDelete()  : mixed
register()  : mixed
registerMetaboxes()  : mixed
renameNewPost()  : mixed
statuses()  : BookingStatuses
addActions()  : mixed
getDescription()  : string
getLabels()  : array<string|int, mixed>
registerArgs()  : array<string|int, mixed>

Constants

POST_TYPE

public mixed POST_TYPE = 'mpa_booking'
Tags
since
1.0

Properties

$entityType

protected string $entityType
Tags
since
1.0

$logs

protected PostTypeLogs $logs
Tags
since
1.14.0

$statuses

protected BookingStatuses $statuses
Tags
since
1.0

Methods

__construct()

public __construct() : mixed
Tags
since
1.0
Return values
mixed

getLabel()

public getLabel() : string
Tags
since
1.0
Return values
string

getPostType()

public getPostType() : string
Tags
since
1.0
Return values
string

getSingularLabel()

public getSingularLabel() : string
Tags
since
1.0
Return values
string

logs()

public logs() : PostTypeLogs
Tags
since
1.14.0
Return values
PostTypeLogs

onDelete()

public onDelete(int $postId) : mixed
Parameters
$postId : int
Tags
since
1.0
Return values
mixed

register()

public register() : mixed
Tags
access

protected

since
1.0
Return values
mixed

registerMetaboxes()

public registerMetaboxes() : mixed
Tags
access

protected

since
1.0
Return values
mixed

renameNewPost()

public renameNewPost(Booking $booking) : mixed
Parameters
$booking : Booking
Tags
since
1.5.0
access

protected

Return values
mixed

addActions()

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

getDescription()

protected getDescription() : string
Tags
since
1.0
Return values
string

getLabels()

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

registerArgs()

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

Search results