Astra_Get_Blog_Archive::get_output_schema()
Get output schema.
Description
Return
(array)
Source
File: inc/abilities/customizer/posttypes/blog/class-astra-get-blog-archive.php
public function get_output_schema() {
return $this->build_output_schema(
array(
'blog_layout' => array(
'type' => 'string',
'description' => __( 'Current blog layout key.', 'astra' ),
),
'blog_layout_label' => array(
'type' => 'string',
'description' => __( 'Human-readable blog layout name.', 'astra' ),
),
'posts_per_page' => array(
'type' => 'integer',
'description' => __( 'Number of posts per page.', 'astra' ),
),
'sidebar_layout' => array(
'type' => 'string',
'description' => __( 'Current sidebar layout key.', 'astra' ),
),
'sidebar_layout_label' => array(
'type' => 'string',
'description' => __( 'Human-readable sidebar layout name.', 'astra' ),
),
'sidebar_style' => array(
'type' => 'string',
'description' => __( 'Current sidebar style key.', 'astra' ),
),
'sidebar_style_label' => array(
'type' => 'string',
'description' => __( 'Human-readable sidebar style name.', 'astra' ),
),
'sidebar_width' => array(
'type' => 'integer',
'description' => __( 'Sidebar width percentage.', 'astra' ),
),
'available_blog_layouts' => array(
'type' => 'object',
'description' => __( 'Available blog layout options.', 'astra' ),
),
'available_sidebar_layouts' => array(
'type' => 'object',
'description' => __( 'Available sidebar layout options.', 'astra' ),
),
'available_sidebar_styles' => array(
'type' => 'object',
'description' => __( 'Available sidebar style options.', 'astra' ),
),
)
);
}
Expand full source code Collapse full source code View on Trac