D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
aramrprl
/
www
/
wp-content
/
plugins
/
elementor
/
modules
/
variables
/
classes
/
Filename :
variables.php
back
Copy
<?php namespace Elementor\Modules\Variables\Classes; 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_Repository $repository ) { self::$lookup = $repository->variables(); } public static function by_id( string $id ) { return self::$lookup[ $id ] ?? null; } }