Astra_Update_Sidebar_Layout::get_input_schema()

Get input schema.


Description


Return

(array)


Source

File: inc/abilities/customizer/general/sidebar/class-astra-update-sidebar-layout.php

	public function get_input_schema() {
		return array(
			'type'       => 'object',
			'properties' => array(
				'layout' => array(
					'type'        => 'string',
					'description' => 'Sidebar layout. Options: "no-sidebar" (No Sidebar), "left-sidebar" (Left Sidebar), "right-sidebar" (Right Sidebar).',
					'enum'        => array( 'no-sidebar', 'left-sidebar', 'right-sidebar' ),
				),
			),
			'required'   => array( 'layout' ),
		);
	}

User Contributed Notes

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