Astra_Addon_Update::v_1_4_8()
Update options when updating to v1.4.8
Description
Typography addon don’t include typography CSS for annchors inside headings.
Return
(void)
Source
File: classes/class-astra-addon-update.php
public static function v_1_4_8() {
$theme_options = get_option( 'astra-settings' );
// Set flag to use anchors CSS selectors in the CSS for headings.
if ( ! isset( $theme_options['include-headings-in-typography'] ) ) {
$theme_options['include-headings-in-typography'] = true;
update_option( 'astra-settings', $theme_options );
}
}
Expand full source code Collapse full source code View on Trac