Astra_Get_Global_Palette::get_input_schema()

Get input schema.


Description


Return

(array)


Source

File: inc/abilities/customizer/globals/colors/class-astra-get-global-palette.php

	public function get_input_schema() {
		return array(
			'type'       => 'object',
			'properties' => array(
				'palette_id' => array(
					'type'        => 'string',
					'description' => 'Optional: Specific palette ID to retrieve (palette_1, palette_2, palette_3, palette_4). If not provided, returns the current active palette.',
					'enum'        => array( 'palette_1', 'palette_2', 'palette_3', 'palette_4' ),
				),
			),
		);
	}

User Contributed Notes

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