Astra_Addon_Update_Filter_Function::astra_cart_color_default_icon_old_header()
Support cart color setting to default cart icon, till now with other cart icons have this color comaptibility but default one don’t have this.
Description
This case is only for old header layout.
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_cart_color_default_icon_old_header() { $astra_settings = get_option( ASTRA_THEME_SETTINGS ); $astra_settings['can-reflect-cart-color-in-old-header'] = isset( $astra_settings['can-reflect-cart-color-in-old-header'] ) ? false : true; return apply_filters( 'astra_support_default_cart_color_in_old_header', $astra_settings['can-reflect-cart-color-in-old-header'] ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.5.1 | Introduced. |