Astra_Update_Footer_Builder::get_input_schema()
Get input schema.
Description
Return
(array)
Source
File: inc/abilities/customizer/footer/class-astra-update-footer-builder.php
public function get_input_schema() {
return array(
'type' => 'object',
'properties' => array(
'desktop' => array(
'type' => 'object',
'description' => 'Desktop footer layout configuration with above, primary, and below sections. Each section contains numbered columns (1-5) with arrays of component IDs.',
'properties' => array(
'above' => array(
'type' => 'object',
'description' => 'Above footer section columns.',
'properties' => array(
'above_1' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'above_2' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'above_3' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'above_4' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'above_5' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
),
),
'primary' => array(
'type' => 'object',
'description' => 'Primary footer section columns.',
'properties' => array(
'primary_1' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'primary_2' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'primary_3' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'primary_4' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'primary_5' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
),
),
'below' => array(
'type' => 'object',
'description' => 'Below footer section columns.',
'properties' => array(
'below_1' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'below_2' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'below_3' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'below_4' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'below_5' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
),
),
),
),
'mobile' => array(
'type' => 'object',
'description' => 'Mobile footer layout configuration with above, primary, and below sections. Each section contains numbered columns (1-2) with arrays of component IDs.',
'properties' => array(
'above' => array(
'type' => 'object',
'description' => 'Above footer section columns for mobile.',
'properties' => array(
'above_1' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'above_2' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
),
),
'primary' => array(
'type' => 'object',
'description' => 'Primary footer section columns for mobile.',
'properties' => array(
'primary_1' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'primary_2' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
),
),
'below' => array(
'type' => 'object',
'description' => 'Below footer section columns for mobile.',
'properties' => array(
'below_1' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
'below_2' => array(
'type' => 'array',
'items' => array( 'type' => 'string' ),
),
),
),
),
),
'above_footer_columns' => array(
'type' => 'integer',
'description' => 'Number of columns for above footer section (1-5).',
),
'primary_footer_columns' => array(
'type' => 'integer',
'description' => 'Number of columns for primary footer section (1-5).',
),
'below_footer_columns' => array(
'type' => 'integer',
'description' => 'Number of columns for below footer section (1-5).',
),
'above_footer_layout' => array(
'type' => 'string',
'description' => 'Above footer layout width. Options: "full" (Full Width), "content" (Content Width).',
'enum' => array( 'full', 'content' ),
),
'primary_footer_layout' => array(
'type' => 'string',
'description' => 'Primary footer layout width. Options: "full" (Full Width), "content" (Content Width).',
'enum' => array( 'full', 'content' ),
),
'below_footer_layout' => array(
'type' => 'string',
'description' => 'Below footer layout width. Options: "full" (Full Width), "content" (Content Width).',
'enum' => array( 'full', 'content' ),
),
),
);
}
Expand full source code Collapse full source code View on Trac