AbstractPostType
in package

Tags
since
1.0

Table of Contents

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

Constants

POST_TYPE

public mixed POST_TYPE = 'mpa_post'
Tags
since
1.0

Properties

$entityType

protected string $entityType
Tags
since
1.0

Methods

__construct()

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

getLabel()

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

getPostType()

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

getSingularLabel()

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

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
Tags
since
1.0
Return values
mixed

getDescription()

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

getLabels()

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

registerArgs()

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

Search results