Astra_Update_Body_Font::get_output_schema()

Get output schema.


Description


Return

(array)


Source

File: inc/abilities/customizer/globals/typography/class-astra-update-body-font.php

	public function get_output_schema() {
		return $this->build_output_schema(
			array(
				'font_family' => array(
					'type'        => 'string',
					'description' => 'Updated body font family.',
				),
				'font_weight' => array(
					'type'        => 'string',
					'description' => 'Updated body font weight.',
				),
				'font_size'   => array(
					'type'        => 'object',
					'description' => 'Updated responsive font size with desktop, tablet, mobile values and units.',
				),
				'font_extras' => array(
					'type'        => 'object',
					'description' => 'Updated additional typography settings (line height, text transform, letter spacing).',
				),
			)
		);
	}

User Contributed Notes

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