Astra_Update_Heading_Font::configure()

Configure the ability.


Description


Return

(void)


Source

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

	public function configure() {
		$this->id          = 'astra/update-font-h' . $this->level;
		$this->category    = 'astra';
		$this->label       = /* translators: %d: heading level */ sprintf( __( 'Update Astra H%d Font', 'astra' ), $this->level );
		$this->description = /* translators: %d: heading level */ sprintf( __( 'Updates the Astra theme H%d heading font family, weight, size, and other typography settings. IMPORTANT: When user specifies size like "32px" or "2rem", you must separate the numeric value from the unit: font_size.desktop = 32 (number), font_size.desktop-unit = "px" (string).', 'astra' ), $this->level );

		$this->meta = array(
			'tool_type' => 'write',
		);
	}

User Contributed Notes

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