Astra_Update_Single_Page::get_input_schema()
Get input schema.
Description
Return
(array)
Source
File: inc/abilities/customizer/posttypes/blog/class-astra-update-single-page.php
public function get_input_schema() {
return array(
'type' => 'object',
'properties' => array(
'container_layout' => array(
'type' => 'string',
'description' => __( 'Container layout for single pages. Options: "default" (Default), "normal-width-container" (Normal), "narrow-width-container" (Narrow), "full-width-container" (Full Width).', 'astra' ),
'enum' => array( 'default', 'normal-width-container', 'narrow-width-container', 'full-width-container' ),
),
'container_style' => array(
'type' => 'string',
'description' => __( 'Container style. Options: "boxed" (Boxed), "unboxed" (Unboxed).', 'astra' ),
'enum' => array( 'boxed', 'unboxed' ),
),
'sidebar_layout' => array(
'type' => 'string',
'description' => __( 'Sidebar layout for single pages. Options: "default" (Default), "no-sidebar" (No Sidebar), "left-sidebar" (Left Sidebar), "right-sidebar" (Right Sidebar).', 'astra' ),
'enum' => array( 'default', 'no-sidebar', 'left-sidebar', 'right-sidebar' ),
),
'sidebar_style' => array(
'type' => 'string',
'description' => __( 'Sidebar style for single pages. Options: "default" (Default), "unboxed" (Unboxed), "boxed" (Boxed).', 'astra' ),
'enum' => array( 'default', 'unboxed', 'boxed' ),
),
'content_width' => array(
'type' => 'string',
'description' => __( 'Content width setting. Options: "default" (Default), "custom" (Custom).', 'astra' ),
'enum' => array( 'default', 'custom' ),
),
'content_max_width' => array(
'type' => 'integer',
'description' => __( 'Custom content max width in pixels (0-1920). Only applies when content_width is set to "custom".', 'astra' ),
),
),
);
}
Expand full source code Collapse full source code View on Trac