Astra_Woocommerce::astra_global_btn_woo_comp()
For existing users, do not load the wide/full width image CSS by default.
Description
Return
(boolean) false if it is an existing user , true if not.
Source
File: inc/compatibility/woocommerce/class-astra-woocommerce.php
public static function astra_global_btn_woo_comp() { $astra_settings = get_option( ASTRA_THEME_SETTINGS ); $astra_settings['global-btn-woo-css'] = isset( $astra_settings['global-btn-woo-css'] ) ? false : true; return apply_filters( 'astra_global_btn_woo_comp', $astra_settings['global-btn-woo-css'] ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |