astra_has_global_color_format_support()

This will check if user is new and apply global color format. This is to manage backward compatibility for colors.


Description


Return

(boolean) false if it is an existing user, true for new user.


Source

File: inc/extras.php

function astra_has_global_color_format_support() {
	$astra_settings                                = get_option( ASTRA_THEME_SETTINGS );
	$astra_settings['support-global-color-format'] = isset( $astra_settings['support-global-color-format'] ) ? false : true;
	return apply_filters( 'astra_apply_global_color_format_support', $astra_settings['support-global-color-format'] );
}

Changelog

Changelog
Version Description
3.7.0 Introduced.


User Contributed Notes

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