PHP Class Papi_Admin_Meta_Box, papi

Afficher le fichier Open project: wp-papi/papi

Protected Properties

Свойство Type Description
$box Papi_Core_Box The core box.

Méthodes publiques

Méthode Description
__construct ( Papi_Core_Box $box ) The constructor.
meta_box_css_classes ( array $classes ) : string[] Add css classes to meta box.
move_meta_box_after_title ( ) Move meta boxes after title.
render_meta_box ( array $post, array $args ) Render the meta box
setup_meta_box ( ) Setup meta box.

Méthodes protégées

Méthode Description
get_post_type ( ) : string Get meta post type.
get_title ( ) : string Get meta box title.
setup_actions ( ) Setup action hooks.

Method Details

__construct() public méthode

The constructor.
public __construct ( Papi_Core_Box $box )
$box Papi_Core_Box

get_post_type() protected méthode

Get meta post type.
protected get_post_type ( ) : string
Résultat string

get_title() protected méthode

Get meta box title.
protected get_title ( ) : string
Résultat string

meta_box_css_classes() public méthode

Add css classes to meta box.
public meta_box_css_classes ( array $classes ) : string[]
$classes array
Résultat string[]

move_meta_box_after_title() public méthode

Move meta boxes after title.

render_meta_box() public méthode

Render the meta box
public render_meta_box ( array $post, array $args )
$post array
$args array

setup_actions() protected méthode

Setup action hooks.
protected setup_actions ( )

setup_meta_box() public méthode

Setup meta box.
public setup_meta_box ( )

Property Details

$box protected_oe property

The core box.
protected Papi_Core_Box $box
Résultat Papi_Core_Box