EmployeePostType extends AbstractBlockEditorPostType
in package

Tags
since
1.0

Table of Contents

POST_TYPE  = 'mpa_employee'
$entityType  : string
__construct()  : mixed
filterBlockEditerState()  : bool
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_employee'
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

filterBlockEditerState()

public filterBlockEditerState(bool $enableBlockEditor, string $postType) : bool
Parameters
$enableBlockEditor : bool
$postType : string
Tags
access

protected

Return values
bool

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

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 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