Class box
Unlike metaboxes, the box can be rendered via code and will enqueue assets on the page where its declared. A box also has save on a submission. Data is saved as an array structure based on the tree of child objects.
- uix\ui\uix
-
uix\data\data
-
uix\ui\panel
-
uix\ui\box
implements
uix\data\save,
uix\data\load
Direct known subclasses
Methods summary
public
|
|
public
|
|
public
|
|
public
mixed
|
|
public
array
|
|
public
string
|
|
public
|
|
public
string
|
|
public
string
|
Methods inherited from uix\ui\panel
child_count(),
description(),
enqueue_active_assets(),
is_section_object(),
label(),
navigation(),
panel_section(),
render_template(),
set_data(),
wrapper_class_names()
Methods inherited from uix\data\data
Methods inherited from uix\ui\uix
__call(),
__construct(),
actions(),
base_color(),
build_attributes(),
enqueue_core(),
id(),
is_active(),
process_child(),
process_children(),
register(),
render_children(),
set_url()
Properties inherited from uix\data\data
Properties inherited from uix\ui\uix
$assets,
$attributes,
$child,
$parent,
$scripts,
$slug,
$struct,
$styles,
$url