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
(bool) 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'] ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |