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 }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.9.3 | Introduced. |