Astra_Update_Footer_Builder_Design::get_input_schema()

Get input schema.


Description


Return

(array)


Source

File: inc/abilities/customizer/footer/class-astra-update-footer-builder-design.php

	public function get_input_schema() {
		return array(
			'type'       => 'object',
			'properties' => array(
				'section'      => array(
					'type'        => 'string',
					'description' => 'Footer 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' => 'Top border color (CSS color value).',
				),
				'border_size'  => array(
					'type'        => 'number',
					'description' => 'Top border size in pixels (0-600).',
				),
				'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' ),
		);
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.