Astra_Dynamic_CSS::gutenberg_media_text_block_css_compat()

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


Description

CSS for adding spacing|padding support to Gutenberg Media-&-Text Block


Return

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


Source

File: inc/class-astra-dynamic-css.php

		public static function gutenberg_media_text_block_css_compat() {
			$astra_settings = get_option( ASTRA_THEME_SETTINGS );
			$astra_settings['guntenberg-media-text-block-padding-css'] = isset( $astra_settings['guntenberg-media-text-block-padding-css'] ) ? false : true;
			return apply_filters( 'astra_gutenberg_media_text_block_spacing_compatibility', $astra_settings['guntenberg-media-text-block-padding-css'] );
		}

Changelog

Changelog
Version Description
2.6.1 Introduced.


User Contributed Notes

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