Astra_Dynamic_CSS::is_block_editor_support_enabled()

For existing users, do not reflect direct change.


Description


Return

(boolean) true if WordPress-5.8 compatibility enabled, False if not.


Source

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

		public static function is_block_editor_support_enabled() {
			$astra_settings                         = get_option( ASTRA_THEME_SETTINGS );
			$astra_settings['support-block-editor'] = ( isset( $astra_settings['support-block-editor'] ) && false === $astra_settings['support-block-editor'] ) ? false : true;
			return apply_filters( 'astra_has_block_editor_support', $astra_settings['support-block-editor'] );
		}

Changelog

Changelog
Version Description
3.6.5 Introduced.


User Contributed Notes

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