Astra_Update_Sidebar::get_input_schema()
Get input schema.
Description
Return
(array)
Source
File: inc/abilities/customizer/general/sidebar/class-astra-update-sidebar.php
public function get_input_schema() {
return array(
'type' => 'object',
'properties' => array(
'layout' => array(
'type' => 'string',
'description' => 'Sidebar layout. Options: "no-sidebar", "left-sidebar", "right-sidebar".',
'enum' => array( 'no-sidebar', 'left-sidebar', 'right-sidebar' ),
),
'style' => array(
'type' => 'string',
'description' => 'Sidebar style. Options: "unboxed", "boxed".',
'enum' => array( 'unboxed', 'boxed' ),
),
'width' => array(
'type' => 'integer',
'description' => 'Sidebar width in percentage (15-50).',
'minimum' => 15,
'maximum' => 50,
),
'sticky_enabled' => array(
'type' => 'boolean',
'description' => 'Enable or disable sticky sidebar.',
),
),
);
}
Expand full source code Collapse full source code View on Trac