PHP Class Papi_Admin_Entry_Post, papi

Inheritance: extends Papi_Admin_Entry
Afficher le fichier Open project: wp-papi/papi Class Usage Examples

Protected Properties

Свойство Type Description
$post_type string The post type.

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
setup_actions ( ) Setup actions.

Method Details

__construct() public méthode

The construct.
public __construct ( )

hidden_meta_box_editor() public méthode

Output hidden WordPress editor.

hidden_meta_boxes() public méthode

Output hidden meta boxes.
public hidden_meta_boxes ( )

load_post_new() public méthode

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

redirect_post_location() public méthode

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

setup() public méthode

Setup admin entry.
public setup ( )

setup_actions() protected méthode

Setup actions.
protected setup_actions ( )

Property Details

$post_type protected_oe property

The post type.
protected string $post_type
Résultat string