# elementor/3.27.4/app/modules/import-export/compatibility/kit-library.php

Elementor Website Builder – more than just a page builder, version 3.27.4. 30 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.27.4/code/app/modules/import-export/compatibility/kit-library.php
- Raw: https://pluginprobe.com/plugins/elementor/3.27.4/raw/app/modules/import-export/compatibility/kit-library.php
- Modified: 2023-04-23T11:22:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.27.4/code/app/modules/import-export/compatibility/kit-library.php#L10-L20`.

```php
<?php

namespace Elementor\App\Modules\ImportExport\Compatibility;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

class Kit_Library extends Base_Adapter {
	public static function is_compatibility_needed( array $manifest_data, array $meta ) {
		return ! empty( $meta['referrer'] ) && 'kit-library' === $meta['referrer'];
	}

	public function adapt_manifest( array $manifest_data ) {
		if ( ! empty( $manifest_data['content']['page'] ) ) {
			foreach ( $manifest_data['content']['page'] as & $page ) {
				$page['thumbnail'] = false;
			}
		}

		if ( ! empty( $manifest_data['templates'] ) ) {
			foreach ( $manifest_data['templates'] as & $template ) {
				$template['thumbnail'] = false;
			}
		}

		return $manifest_data;
	}
}

```
