Submit
Path:
~
/
home
/
getwphos
/
www
/
almajd
/
wp-content
/
plugins
/
elementor
/
app
/
modules
/
import-export-customization
/
data
/
File Content:
controller.php
<?php namespace Elementor\App\Modules\ImportExportCustomization\Data; use Elementor\App\Modules\ImportExportCustomization\Data\Routes\Export; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Controller { const API_NAMESPACE = 'elementor/v1'; const API_BASE = 'import-export-customization'; public static function register_hooks() { add_action( 'rest_api_init', fn() => self::register_routes() ); } public static function get_base_url() { return get_rest_url() . self::API_NAMESPACE . '/' . self::API_BASE; } private static function register_routes() { ( new Export() )->register_route( self::API_NAMESPACE, self::API_BASE ); } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
routes
---
0755
controller.php
678 bytes
0644
response.php
932 bytes
0644
N4ST4R_ID | Naxtarrr