Astra_Get_Site_Title_Logo::get_output_schema()

Get output schema.


Description


Return

(array)


Source

File: inc/abilities/customizer/siteidentity/class-astra-get-site-title-logo.php

	public function get_output_schema() {
		return $this->build_output_schema(
			array(
				'site_title'            => array(
					'type'        => 'string',
					'description' => __( 'Current site title.', 'astra' ),
				),
				'tagline'               => array(
					'type'        => 'string',
					'description' => __( 'Current site tagline/description.', 'astra' ),
				),
				'logo_id'               => array(
					'type'        => 'integer',
					'description' => __( 'Logo attachment ID.', 'astra' ),
				),
				'logo_url'              => array(
					'type'        => 'string',
					'description' => __( 'Logo image URL.', 'astra' ),
				),
				'retina_logo'           => array(
					'type'        => 'string',
					'description' => __( 'Retina logo URL.', 'astra' ),
				),
				'mobile_logo'           => array(
					'type'        => 'string',
					'description' => __( 'Mobile logo URL.', 'astra' ),
				),
				'logo_width'            => array(
					'type'        => 'object',
					'description' => __( 'Responsive logo width settings.', 'astra' ),
				),
				'display_site_title'    => array(
					'type'        => 'object',
					'description' => __( 'Site title visibility per device.', 'astra' ),
				),
				'display_tagline'       => array(
					'type'        => 'object',
					'description' => __( 'Tagline visibility per device.', 'astra' ),
				),
				'logo_title_inline'     => array(
					'type'        => 'boolean',
					'description' => __( 'Whether logo and title are displayed inline.', 'astra' ),
				),
				'different_retina_logo' => array(
					'type'        => 'boolean',
					'description' => __( 'Whether a different retina logo is enabled.', 'astra' ),
				),
				'different_mobile_logo' => array(
					'type'        => 'boolean',
					'description' => __( 'Whether a different mobile logo is enabled.', 'astra' ),
				),
			)
		);
	}

User Contributed Notes

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