Astra_Addon_Update::v_1_0_0_rc_3()

Update options of older version than 1.0.0-rc.3.


Description


Return

(void)


Source

File: classes/class-astra-addon-update.php

		public static function v_1_0_0_rc_3() {

			$astra_options = get_option( 'astra-settings', array() );

			if ( isset( $astra_options['sticky-header-mobile'] ) && 'enabled' == $astra_options['sticky-header-mobile'] ) {
				unset( $astra_options['sticky-header-mobile'] );
				$astra_options['sticky-header-on-devices'] = 'both';
			}

			update_option( 'astra-settings', $astra_options );
		}

Changelog

Changelog
Version Description
1.0.0-rc.3 Introduced.

User Contributed Notes

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