Astra_Dynamic_CSS::gutenberg_core_blocks_css_comp()
Do not apply new Group, Column and Media & Text block CSS for existing users.
Description
Return
(bool) false if it is an existing user , true if not.
Source
File: inc/class-astra-dynamic-css.php
public static function gutenberg_core_blocks_css_comp() {
$astra_settings = get_option( ASTRA_THEME_SETTINGS );
$astra_settings['guntenberg-core-blocks-comp-css'] = isset( $astra_settings['guntenberg-core-blocks-comp-css'] ) ? false : true;
return apply_filters( 'astra_gutenberg_core_blocks_design_compatibility', $astra_settings['guntenberg-core-blocks-comp-css'] );
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 2.6.0 | Introduced. |