Class metabox
Metabox class for adding metaboxes to post types in the post editor
- uix\ui\uix
-
uix\data\data
-
uix\ui\panel
-
uix\ui\metabox
Methods summary
protected
|
|
public
|
|
public
|
|
protected
|
|
protected
|
|
public
|
#
set_active_status( screen $screen )
Checks the screen object to determin if the metabox should load assets |
public
|
|
public
|
#
create_metabox( wp_post $post )
Callback for the |
public
string
|
|
public
|
|
public
|
Methods inherited from uix\ui\panel
child_count(),
description(),
get_data(),
is_section_object(),
label(),
navigation(),
panel_section(),
render_template(),
set_data(),
wrapper_class_names()
Methods inherited from uix\ui\uix
__call(),
__construct(),
base_color(),
build_attributes(),
enqueue_core(),
id(),
init(),
process_child(),
process_children(),
register(),
render_children(),
set_attributes(),
set_url()
Properties summary
public
string
|
$type
The type of object |
#
'metabox'
|
public
WP_Post
|
$post
Holds the current post object |
#
null
|
public
boolean
|
$is_active
Status of the metabox to determin if assets should be loaded |
#
false
|
Properties inherited from uix\data\data
Properties inherited from uix\ui\uix
$assets,
$attributes,
$child,
$parent,
$scripts,
$slug,
$struct,
$styles,
$url