PHP Class Papi_Admin_Entry_Post, papi

Inheritance: extends Papi_Admin_Entry
Show file Open project: wp-papi/papi Class Usage Examples

Protected Properties

Property Type Description
$post_type string The post type.

Public Methods

Method Description
__construct ( ) The construct.
hidden_meta_box_editor ( ) Output hidden WordPress editor.
hidden_meta_boxes ( ) Output hidden meta boxes.
load_post_new ( ) Load post new action Redirect to right url if no page type is set.
redirect_post_location ( string $location ) : string Redirect post location when post is in iframe mode.
setup ( ) Setup admin entry.

Protected Methods

Method Description
setup_actions ( ) Setup actions.

Method Details

__construct() public method

The construct.
public __construct ( )

hidden_meta_box_editor() public method

Output hidden WordPress editor.

hidden_meta_boxes() public method

Output hidden meta boxes.
public hidden_meta_boxes ( )

load_post_new() public method

Load post new action Redirect to right url if no page type is set.
public load_post_new ( )

redirect_post_location() public method

Redirect post location when post is in iframe mode.
public redirect_post_location ( string $location ) : string
$location string
return string

setup() public method

Setup admin entry.
public setup ( )

setup_actions() protected method

Setup actions.
protected setup_actions ( )

Property Details

$post_type protected property

The post type.
protected string $post_type
return string