Astra_Update_Headings_Font::get_input_schema()
Get input schema.
Description
Return
(array)
Source
File: inc/abilities/customizer/globals/typography/class-astra-update-headings-font.php
public function get_input_schema() {
return array(
'type' => 'object',
'properties' => array(
'font_family' => array(
'type' => 'string',
'description' => 'Font family name for all headings',
),
'font_weight' => array(
'type' => 'string',
'description' => 'Font weight for all headings',
),
'line_height' => array(
'type' => 'string',
'description' => 'Line height value for headings',
),
'text_transform' => array(
'type' => 'string',
'description' => 'Text transform for headings',
'enum' => array( 'uppercase', 'lowercase', 'capitalize', 'none', '' ),
),
'letter_spacing' => array(
'type' => 'string',
'description' => 'Letter spacing value for headings',
),
),
);
}
Expand full source code Collapse full source code View on Trac