wordpress/wp-content/themes/basic/themify/themify-builder/classes/class-themify-builder-model.php
/**
     * Check if we are gutenberg editor
     * @return boolean
     */
Check if we are gutenberg editor
@return boolean
Check if we are gutenberg editor @return boolean
public static function is_gutenberg_editor() {
	static $is = null;
	if ($is === null) {
	    global $post;
	    $is = !(!is_admin() || isset($_GET['classic-editor']) || !function_exists('get_current_screen') || get_current_screen()->base !== 'post' || !self::is_gutenberg_active() || !self::gutenberg_can_edit_post($post) );
	}
	return $is;
    }
public static function is_gutenberg_editor ( ) { static $ is = null ; if ( $ is === null ) { global $ post ; $ is = ! ( ! is_admin ( ) || isset ( $ _GET [ 'classic-editor' ] ) || ! function_exists ( 'get_current_screen' ) || get_current_screen ( ) -> base !== 'post' || ! self :: is_gutenberg_active ( ) || ! self :: gutenberg_can_edit_post ( $ post ) ) ; } return $ is ; }
Check if we are gutenberg editor
 @return boolean
Check if we are gutenberg editor @return boolean
/*
	     * There have been reports of specialized loading scenarios where `get_current_screen`
	     * does not exist. In these cases, it is safe to say we are not loading Gutenberg.
	     */