🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:variables.php
<?php namespace Elementor\Modules\Variables\Classes; use Elementor\Modules\Variables\Services\Variables_Service; use Elementor\Modules\Variables\Storage\Repository as Variables_Repository; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Variables { private static $lookup = []; public static function init( Variables_Service $service ) { self::$lookup = $service->get_variables_list(); } public static function by_id( string $id ) { return self::$lookup[ $id ] ?? null; } }
Save Changes
Cancel
Create New File
Create New Folder