Astra_Update_Body_Font::configure()
Configure the ability.
Description
Source
File: inc/abilities/customizer/globals/typography/class-astra-update-body-font.php
public function configure() {
$this->id = 'astra/update-font-body';
$this->category = 'astra';
$this->label = __( 'Update Astra Body Font', 'astra' );
$this->description = __( 'Updates the Astra theme body font family, weight, size, and other typography settings. IMPORTANT: When user specifies size like "16px" or "1.5rem", you must separate the numeric value from the unit: font_size.desktop = 16 (number), font_size.desktop-unit = "px" (string).', 'astra' );
$this->meta = array(
'tool_type' => 'write',
);
}
Expand full source code Collapse full source code View on Trac