RateCPT
extends EditableCPT
in package
Table of Contents
- $capability : string
- $editPage : EditCPTPage
- $fieldGroups : array<string|int, MetaBoxGroup>
- $managePage : ManageCPTPage
- $postType : mixed
- __construct() : mixed
- addBackButton() : mixed
- getCapabilityType() : array<string|int, mixed>
- Create an array of capability types depending on a post type name.
- getEditPage() : EditCPTPage
- getFieldGroups() : mixed
- getManagePage() : ManageCPTPage
- getMenuSlug() : mixed
- getPostType() : mixed
- initEditPage() : mixed
- initManagePage() : mixed
- isCurrentEditPage() : mixed
- register() : mixed
- registerMetaBoxes() : mixed
- addActions() : mixed
- createEditPage() : EditCPTPage
- createManagePage() : ManageCPTPage
Properties
$capability
protected
string
$capability
= 'edit_post'
$editPage
protected
EditCPTPage
$editPage
$fieldGroups
protected
array<string|int, MetaBoxGroup>
$fieldGroups
= array()
$managePage
protected
ManageCPTPage
$managePage
$postType
protected
mixed
$postType
= 'mphb_rate'
Methods
__construct()
public
__construct() : mixed
Return values
mixed —addBackButton()
public
addBackButton() : 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> —getEditPage()
public
getEditPage() : EditCPTPage
Return values
EditCPTPage —getFieldGroups()
public
getFieldGroups() : mixed
Return values
mixed —getManagePage()
public
getManagePage() : ManageCPTPage
Return values
ManageCPTPage —getMenuSlug()
public
getMenuSlug() : mixed
Return values
mixed —getPostType()
public
getPostType() : mixed
Return values
mixed —initEditPage()
public
initEditPage() : mixed
Return values
mixed —initManagePage()
public
initManagePage() : mixed
Return values
mixed —isCurrentEditPage()
public
isCurrentEditPage() : mixed
Return values
mixed —register()
public
register() : mixed
Tags
Return values
mixed —registerMetaBoxes()
public
registerMetaBoxes() : mixed
Return values
mixed —addActions()
protected
addActions() : mixed
Return values
mixed —createEditPage()
protected
createEditPage() : EditCPTPage
Return values
EditCPTPage —createManagePage()
protected
createManagePage() : ManageCPTPage