Astra_Dynamic_CSS::is_block_editor_support_enabled()
For existing users, do not reflect direct change.
Description
Return
(bool) 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'] );
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 3.6.5 | Introduced. |