Astra_Get_Container_Layout::get_output_schema()
Get output schema.
Description
Return
(array)
Source
File: inc/abilities/customizer/globals/container/class-astra-get-container-layout.php
public function get_output_schema() {
return $this->build_output_schema(
array(
'container_layout' => array(
'type' => 'string',
'description' => 'Current container layout slug.',
),
'container_layout_label' => array(
'type' => 'string',
'description' => 'Human-readable container layout name.',
),
'container_style' => array(
'type' => 'string',
'description' => 'Current container style slug.',
),
'container_style_label' => array(
'type' => 'string',
'description' => 'Human-readable container style name.',
),
'available_layouts' => array(
'type' => 'object',
'description' => 'Map of available layout slugs to labels.',
),
'available_styles' => array(
'type' => 'object',
'description' => 'Map of available style slugs to labels.',
),
'note' => array(
'type' => 'string',
'description' => 'Additional context about settings.',
),
)
);
}
Expand full source code Collapse full source code View on Trac