Astra_Addon_Update::v_1_6_10()

Quick View Improvements.


Description


Return

(void)


Source

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

		public static function v_1_6_10() {
			$theme_options = get_option( 'astra-settings' );

			// Setting the value `true` for `Stick Add to Cart` option.
			// For `Quick View` option for old users. For new users its `false`.
			if ( ! isset( $theme_options['shop-quick-view-stick-cart'] ) ) {
				$theme_options['shop-quick-view-stick-cart'] = true;
			}

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

Changelog

Changelog
Version Description
1.6.10 Introduced.

User Contributed Notes

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