| 1 |
<?php |
| 2 |
|
| 3 |
namespace Elementor\Modules\GlobalClasses\ImportExport; |
| 4 |
|
| 5 |
use Elementor\App\Modules\ImportExport\Processes\Export; |
| 6 |
use Elementor\App\Modules\ImportExport\Processes\Import; |
| 7 |
|
| 8 |
class Import_Export { |
| 9 |
const FILE_NAME = 'global-classes'; |
| 10 |
|
| 11 |
public function register_hooks() { |
| 12 |
add_action( 'elementor/import-export/export-kit', function ( Export $export ) { |
| 13 |
$export->register( new Export_Runner() ); |
| 14 |
} ); |
| 15 |
|
| 16 |
add_action( 'elementor/import-export/import-kit', function ( Import $import ) { |
| 17 |
$import->register( new Import_Runner() ); |
| 18 |
} ); |
| 19 |
} |
| 20 |
} |
| 21 |
|