File "import-export.php"

Full Path: /home/diablzlo/glucosebalnce.com/wp-content/plugins/elementor-pro/modules/custom-code/import-export/import-export.php
File size: 738 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace ElementorPro\Modules\CustomCode\ImportExport;

use Elementor\App\Modules\ImportExport\Processes\Export;
use Elementor\App\Modules\ImportExport\Processes\Import;
use Elementor\App\Modules\ImportExport\Processes\Revert;

class Import_Export {
	const FILE_NAME = 'custom-code';

	public function register_hooks() {
		add_action( 'elementor/import-export/export-kit', function ( Export $export ) {
			$export->register( new Export_Runner() );
		} );

		add_action( 'elementor/import-export/import-kit', function ( Import $import ) {
			$import->register( new Import_Runner() );
		} );

		add_action( 'elementor/import-export/revert-kit', function ( Revert $revert ) {
			$revert->register( new Revert_Runner() );
		} );
	}
}