Property | Type | Description | |
---|---|---|---|
$capabilities | array | Capabilities list. | |
$context | string | Context. | |
$display | boolean | Display box. | |
$id | string | The core type identifier. | |
$layout | string | Possible values are: - horizontal - vertical | |
$priority | string | Priority. | |
$properties | array | Box properties. | |
$site_id | integer | Site id. | |
$sort_order | integer | The sort order of the core box. | |
$title | string | The title of the box. |
Property | Type | Description | |
---|---|---|---|
$options | array | Custom box options. |
Method | Description | |
---|---|---|
__construct ( array $args = [], array $properties = [] ) | The constructor. | |
__toString ( ) : string | Get a string representation of the object. | |
get_option ( string $key ) : mixed | Get box option. | |
set_option ( string $key, mixed $value ) | Set box option. |
Method | Description | |
---|---|---|
setup_args ( array $args ) | Setup arguments. | |
setup_properties ( array $properties ) | Setup properties. |
public __construct ( array $args = [], array $properties = [] ) | ||
$args | array | |
$properties | array |
public __toString ( ) : string | ||
return | string |
public get_option ( string $key ) : mixed | ||
$key | string | |
return | mixed |
public set_option ( string $key, mixed $value ) | ||
$key | string | |
$value | mixed |
protected setup_properties ( array $properties ) | ||
$properties | array |
public string $layout | ||
return | string |