Astra_Theme_Update::v_1_2_4()

Update Theme Color value same as Link Color for older version than 1.2.4.


Description

Theme Color update


Source

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

		public static function v_1_2_4() {

			$astra_options = get_option( ASTRA_THEME_SETTINGS, array() );

			if ( isset( $astra_options['link-color'] ) ) {
				$astra_options['theme-color'] = $astra_options['link-color'];
			}

			update_option( ASTRA_THEME_SETTINGS, $astra_options );
		}

Changelog

Changelog
Version Description
1.2.4 Introduced.

User Contributed Notes

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