Astra_Update_Header_Builder_Design::get_input_schema()
Get input schema.
Description
Return
(array)
Source
File: inc/abilities/customizer/header/class-astra-update-header-builder-design.php
public function get_input_schema() {
return array(
'type' => 'object',
'properties' => array(
'section' => array(
'type' => 'string',
'description' => 'Header section to update: above, primary, or below.',
'enum' => array( 'above', 'primary', 'below' ),
),
'background' => array(
'type' => 'object',
'description' => 'Background settings (responsive) with desktop, tablet, mobile keys. Each contains background-color, background-image, background-repeat, background-position, background-size, background-attachment, background-media, background-type, overlay-type, overlay-color, overlay-gradient.',
),
'border_color' => array(
'type' => 'string',
'description' => 'Bottom border color (CSS color value).',
),
'border_size' => array(
'type' => 'number',
'description' => 'Bottom border size in pixels (0-10).',
),
'padding' => array(
'type' => 'object',
'description' => 'Padding settings (responsive) with desktop, tablet, mobile keys. Each contains top, right, bottom, left values. Also includes desktop-unit, tablet-unit, mobile-unit.',
),
'margin' => array(
'type' => 'object',
'description' => 'Margin settings (responsive) with desktop, tablet, mobile keys. Each contains top, right, bottom, left values. Also includes desktop-unit, tablet-unit, mobile-unit.',
),
),
'required' => array( 'section' ),
);
}
Expand full source code Collapse full source code View on Trac