PaymentEditCPTPage extends EditCPTPage
in package

Table of Contents

EMPTY_VALUE_PLACEHOLDER  = '—'
$capability  : mixed
$fieldGroups  : array<string|int, MetaBoxGroup>
$postType  : mixed
__construct()  : mixed
customizeMetaBoxes()  : mixed
enqueueAdminScripts()  : mixed
getAttsFromRequest()  : mixed
getPostType()  : mixed
getUrl()  : mixed
isCurrentAddNewPage()  : mixed
isCurrentEditPage()  : mixed
isCurrentPage()  : mixed
registerMetaBoxes()  : mixed
renderLogMetaBox()  : mixed
renderSubmitMetaBox()  : mixed
saveMetaBoxes()  : bool
addActions()  : mixed
canSaveMetaBoxes()  : bool

Constants

EMPTY_VALUE_PLACEHOLDER

public mixed EMPTY_VALUE_PLACEHOLDER = '&#8212;'

Properties

$capability

protected mixed $capability

$fieldGroups

protected array<string|int, MetaBoxGroup> $fieldGroups = array()

$postType

protected mixed $postType

Methods

__construct()

public __construct(mixed $postType[, mixed $fieldGroups = array() ][, mixed $atts = array() ]) : mixed
Parameters
$postType : mixed
$fieldGroups : mixed = array()
$atts : mixed = array()
Return values
mixed

customizeMetaBoxes()

public customizeMetaBoxes() : mixed
Return values
mixed

enqueueAdminScripts()

public enqueueAdminScripts() : mixed
Tags
since
3.7.3

added new action - "mphb_enqueue_edit_{$postType}scripts", where $postType is the post type without prefix "mphb".

Return values
mixed

getAttsFromRequest()

public getAttsFromRequest([mixed $request = null ]) : mixed
Parameters
$request : mixed = null
Return values
mixed

getPostType()

public getPostType() : mixed
Return values
mixed

getUrl()

public getUrl([mixed $atts = array() ][, mixed $addNew = false ]) : mixed
Parameters
$atts : mixed = array()
$addNew : mixed = false
Return values
mixed

isCurrentAddNewPage()

public isCurrentAddNewPage() : mixed
Return values
mixed

isCurrentEditPage()

public isCurrentEditPage() : mixed
Return values
mixed

isCurrentPage()

public isCurrentPage() : mixed
Return values
mixed

registerMetaBoxes()

public registerMetaBoxes() : mixed
Return values
mixed

renderLogMetaBox()

public renderLogMetaBox(mixed $post, mixed $metabox) : mixed
Parameters
$post : mixed
$metabox : mixed
Return values
mixed

renderSubmitMetaBox()

public renderSubmitMetaBox(mixed $post, mixed $metabox) : mixed
Parameters
$post : mixed
$metabox : mixed
Return values
mixed

saveMetaBoxes()

public saveMetaBoxes(mixed $postId, mixed $post, mixed $update) : bool
Parameters
$postId : mixed
$post : mixed
$update : mixed
Return values
bool

addActions()

protected addActions() : mixed
Return values
mixed

canSaveMetaBoxes()

protected canSaveMetaBoxes(int $postId, WP_Post $post, bool $update) : bool
Parameters
$postId : int
$post : WP_Post
$update : bool
Return values
bool

Search results