Astra_Addon_Update_Filter_Function::astra_add_bg_color_outline_cart_header_builder()

In old header for Cart widget we have background: #ffffff; for outline cart, whereas this CSS missed in new HFB > Cart element. Adding it now as per support requests.


Description

This case is only for new header builder > WooCommerce cart.


Return

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


Source

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

	public static function astra_add_bg_color_outline_cart_header_builder() {
		$astra_settings                                   = get_option( ASTRA_THEME_SETTINGS );
		$astra_settings['add-outline-cart-bg-new-header'] = isset( $astra_settings['add-outline-cart-bg-new-header'] ) ? false : true;
		return apply_filters( 'astra_apply_background_to_outline_cart_builder_element', $astra_settings['add-outline-cart-bg-new-header'] );
	}

Changelog

Changelog
Version Description
3.5.7 Introduced.


User Contributed Notes

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