Astra_Theme_Update::v_1_4_9()

Manage backwards compatibility when migrating to v1.4.9


Description


Return

(void)


Source

File: inc/theme-update/class-astra-theme-update.php

		public static function v_1_4_9() {
			$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 );
			}
		}

Changelog

Changelog
Version Description
1.4.9 Introduced.

User Contributed Notes

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