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.
- 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
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> —getPostType()
public
getPostType() : mixed
Return values
mixed —register()
public
abstract register() : mixed
Return values
mixed —addActions()
protected
addActions() : mixed