wordpress/wp-content/themes/basic/themify/themify-builder/classes/class-themify-builder-model.php
/**
     * Check if gutenberg active
     * @return boolean
     */
Check if gutenberg active
@return boolean
Check if gutenberg active @return boolean
public static function is_gutenberg_active() {
	static $is = null;
	if ($is === null) {
	    global $wp_version;
	    $is = self::is_plugin_active('gutenberg/gutenberg.php') || version_compare($wp_version, '5.0', '>=');
	    if ($is === true && version_compare($wp_version, '5.0', '>=')) {
		$is = !self::is_plugin_active('disable-gutenberg/disable-gutenberg.php') && !self::is_plugin_active('classic-editor/classic-editor.php');
	    }
	}
	return $is;
    }
public static function is_gutenberg_active ( ) { static $ is = null ; if ( $ is === null ) { global $ wp_version ; $ is = self :: is_plugin_active ( 'gutenberg/gutenberg.php' ) || version_compare ( $ wp_version , '5.0' , '>=' ) ; if ( $ is === true && version_compare ( $ wp_version , '5.0' , '>=' ) ) { $ is = ! self :: is_plugin_active ( 'disable-gutenberg/disable-gutenberg.php' ) && ! self :: is_plugin_active ( 'classic-editor/classic-editor.php' ) ; } } return $ is ; }
Check if gutenberg active
 @return boolean
Check if gutenberg active @return boolean