Astra_Addon_Update_Filter_Function::astra_addon_update_variant_active_style()

Check whether to update variant selected style or not.


Description


Return

(boolean) false if it is an existing user, true if not.


Source

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

	public static function astra_addon_update_variant_active_style() {
		$astra_settings                                    = get_option( ASTRA_THEME_SETTINGS );
		$astra_settings['can-update-variant-active-style'] = isset( $astra_settings['can-update-variant-active-style'] ) ? false : true;
		return apply_filters( 'astra_addon_update_wc_variant_style', $astra_settings['can-update-variant-active-style'] ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
	}

Changelog

Changelog
Version Description
3.9.3 Introduced.


User Contributed Notes

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