| 1 |
<?php |
| 2 |
|
| 3 |
namespace Elementor\App\Modules\ImportExport\Compatibility; |
| 4 |
|
| 5 |
use Elementor\App\Modules\ImportExport\Import; |
| 6 |
use Elementor\Core\Base\Base_Object; |
| 7 |
|
| 8 |
if ( ! defined( 'ABSPATH' ) ) { |
| 9 |
exit; // Exit if accessed directly. |
| 10 |
} |
| 11 |
|
| 12 |
abstract class Base_Adapter { |
| 13 |
|
| 14 |
/** |
| 15 |
* @param array $manifest_data |
| 16 |
* @param array $meta |
| 17 |
* @return false |
| 18 |
*/ |
| 19 |
public static function is_compatibility_needed( array $manifest_data, array $meta ) { |
| 20 |
return false; |
| 21 |
} |
| 22 |
|
| 23 |
public function adapt_manifest( array $manifest_data ) { |
| 24 |
return $manifest_data; |
| 25 |
} |
| 26 |
|
| 27 |
public function adapt_site_settings( array $site_settings, array $manifest_data, $path ) { |
| 28 |
return $site_settings; |
| 29 |
} |
| 30 |
|
| 31 |
public function adapt_template( array $template_data, array $template_settings ) { |
| 32 |
return $template_data; |
| 33 |
} |
| 34 |
} |
| 35 |
|