Astra_Get_Breadcrumb::get_output_schema()

Get output schema.


Description


Return

(array)


Source

File: inc/abilities/customizer/general/breadcrumb/class-astra-get-breadcrumb.php

	public function get_output_schema() {
		return $this->build_output_schema(
			array(
				'position'             => array(
					'type'        => 'string',
					'description' => 'Current breadcrumb position value.',
				),
				'position_label'       => array(
					'type'        => 'string',
					'description' => 'Human-readable position label.',
				),
				'alignment'            => array(
					'type'        => 'string',
					'description' => 'Current breadcrumb alignment.',
				),
				'alignment_label'      => array(
					'type'        => 'string',
					'description' => 'Human-readable alignment label.',
				),
				'separator_type'       => array(
					'type'        => 'string',
					'description' => 'Separator type selector value.',
				),
				'separator_type_label' => array(
					'type'        => 'string',
					'description' => 'Human-readable separator type label.',
				),
				'separator_custom'     => array(
					'type'        => 'string',
					'description' => 'Custom separator text.',
				),
				'enable_on'            => array(
					'type'        => 'object',
					'description' => 'Display settings per page type.',
				),
				'typography'           => array(
					'type'        => 'object',
					'description' => 'Typography settings.',
				),
				'colors'               => array(
					'type'        => 'object',
					'description' => 'Color settings.',
				),
				'spacing'              => array(
					'type'        => 'object',
					'description' => 'Spacing settings.',
				),
				'available_positions'  => array(
					'type'        => 'object',
					'description' => 'Available position options.',
				),
				'available_alignments' => array(
					'type'        => 'object',
					'description' => 'Available alignment options.',
				),
				'available_separators' => array(
					'type'        => 'object',
					'description' => 'Available separator options.',
				),
			)
		);
	}

User Contributed Notes

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