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'] );
		}

Changelog

Changelog
Version Description
2.5.0 Introduced.


User Contributed Notes

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