ReservedRoomCPT
extends AbstractCPT
in package
Table of Contents
- $capability : string
- $fieldGroups : array<string|int, MetaBoxGroup>
- $postType : mixed
- __construct() : mixed
- getCapabilityType() : array<string|int, mixed>
- Create an array of capability types depending on a post type name.
- getFieldGroups() : mixed
- getPostType() : mixed
- register() : mixed
- addActions() : mixed
Properties
$capability
protected
string
$capability
= 'edit_post'
$fieldGroups
protected
array<string|int, MetaBoxGroup>
$fieldGroups
= array()
$postType
protected
mixed
$postType
= 'mphb_reserved_room'
Methods
__construct()
public
__construct() : mixed
Return values
mixed —getCapabilityType()
Create an array of capability types depending on a post type name.
public
getCapabilityType() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getFieldGroups()
public
getFieldGroups() : mixed
Return values
mixed —getPostType()
public
getPostType() : mixed
Return values
mixed —register()
public
register() : mixed
Tags
Return values
mixed —addActions()
protected
addActions() : mixed