NotificationPostType extends AbstractPostType
in package

Tags
since
1.13.0

Table of Contents

POST_TYPE  = 'mpa_notification'
$entityType  : string
$statuses  : NotificationStatuses
__construct()  : mixed
getLabel()  : string
getPostType()  : string
getSingularLabel()  : string
onNewBooking()  : mixed
register()  : mixed
registerMetaboxes()  : mixed
statuses()  : NotificationStatuses
addActions()  : mixed
getDescription()  : string
getLabels()  : array<string|int, mixed>
registerArgs()  : array<string|int, mixed>

Constants

POST_TYPE

public mixed POST_TYPE = 'mpa_notification'

Properties

$entityType

protected string $entityType
Tags
since
1.0

$statuses

protected NotificationStatuses $statuses

Methods

__construct()

public __construct() : mixed
Return values
mixed

getLabel()

public getLabel() : string
Return values
string

getPostType()

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

getSingularLabel()

public getSingularLabel() : string
Return values
string

onNewBooking()

public onNewBooking(Booking $booking) : mixed
Parameters
$booking : Booking
Tags
access

protected

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

addActions()

protected addActions() : mixed
Return values
mixed

getDescription()

protected getDescription() : string
Return values
string

getLabels()

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

registerArgs()

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

Search results