Astra_Addon_Update_Filter_Function::astra_addon_sale_badge_background_color()

Support sale badge background color for design 2.


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_sale_badge_background_color() {
		$astra_settings = get_option( ASTRA_THEME_SETTINGS );
		$astra_settings['apply-modern-layout-sale-badge-styles'] = isset( $astra_settings['apply-modern-layout-sale-badge-styles'] ) ? false : true;
		return apply_filters( 'astra_addon_apply_sale_badge_styles_modern_layout', $astra_settings['apply-modern-layout-sale-badge-styles'] );
	}

Changelog

Changelog
Version Description
4.1.6 Introduced.


User Contributed Notes

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