Astra_Dynamic_CSS::gutenberg_core_blocks_css_comp()

Do not apply new Group, Column and Media & Text block CSS for existing users.


Description


Return

(boolean) 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'] );
		}

Changelog

Changelog
Version Description
2.6.0 Introduced.


User Contributed Notes

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