/var/www/html/wp-content/plugins/elementor/app/modules/import-export/compatibility/base-adapter.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php

namespace Elementor\App\Modules\ImportExport\Compatibility;

use 
Elementor\App\Modules\ImportExport\Import;
use 
Elementor\Core\Base\Base_Object;

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

abstract class 
Base_Adapter {

    
/**
     * @param array $manifest_data
     * @param array $meta
     * @return false
     */
    
public static function is_compatibility_needed( array $manifest_data, array $meta ) {
        return 
false;
    }

    public function 
adapt_manifest( array $manifest_data ) {
        return 
$manifest_data;
    }

    public function 
adapt_site_settings( array $site_settings, array $manifest_data$path ) {
        return 
$site_settings;
    }

    public function 
adapt_template( array $template_data, array $template_settings ) {
        return 
$template_data;
    }
}