Astra_Ext_WooCommerce::astra_addon_enable_modern_ecommerce_setup()

Check if modern WooCOmmerce setup is being activated for new users.


Description

Update defaults once user activates Astra Addon.


Return

(bool) true|false


Source

File: addons/woocommerce/class-astra-ext-woocommerce.php

		public static function astra_addon_enable_modern_ecommerce_setup() {
			$theme_options = get_option( 'astra-settings', array() );
			return apply_filters( 'astra_get_option_modern-ecommerce-setup', isset( $theme_options['modern-ecommerce-setup'] ) ? false : true ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
		}

Changelog

Changelog
Version Description
3.9.0 Introduced.


User Contributed Notes

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