Property | Type | Description | |
---|---|---|---|
$box | Papi_Core_Box | The core box. |
Method | 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. |
Method | Description | |
---|---|---|
get_post_type ( ) : string | Get meta post type. | |
get_title ( ) : string | Get meta box title. | |
setup_actions ( ) | Setup action hooks. |
public __construct ( Papi_Core_Box $box ) | ||
$box | Papi_Core_Box |
protected get_post_type ( ) : string | ||
return | string |
public meta_box_css_classes ( array $classes ) : string[] | ||
$classes | array | |
return | string[] |
public move_meta_box_after_title ( ) |
public render_meta_box ( array $post, array $args ) | ||
$post | array | |
$args | array |