Astra_Update_Container_Layout::get_input_schema()

Get input schema.


Description


Return

(array)


Source

File: inc/abilities/customizer/globals/container/class-astra-update-container-layout.php

	public function get_input_schema() {
		return array(
			'type'       => 'object',
			'properties' => array(
				'container_layout' => array(
					'type'        => 'string',
					'description' => __( 'The container layout to apply. Options: "normal-width-container" (Normal width), "narrow-width-container" (Narrow width), "full-width-container" (Full width / Stretched).', 'astra' ),
					'enum'        => array( 'normal-width-container', 'narrow-width-container', 'full-width-container' ),
				),
				'container_style'  => array(
					'type'        => 'string',
					'description' => __( 'The container style to apply. Options: "boxed" (Boxed style with padding), "unboxed" (Unboxed/Plain style). Note: This only applies when layout is normal or narrow.', 'astra' ),
					'enum'        => array( 'boxed', 'unboxed' ),
				),
			),
		);
	}

User Contributed Notes

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