REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 684 B
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/elementor/modules/variables/transformers/global-variable-transformer.php
Text
Base64
<?php namespace Elementor\Modules\Variables\Transformers; use Elementor\Modules\Variables\Classes\Variables; use Elementor\Modules\AtomicWidgets\PropsResolver\Transformer_Base; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Global_Variable_Transformer extends Transformer_Base { public function transform( $value, $key ) { $variable = Variables::by_id( $value ); if ( ! $variable ) { return null; } if ( array_key_exists( 'deleted', $variable ) && $variable['deleted'] ) { return "var(--{$value})"; } $identifier = $variable['label']; if ( ! trim( $identifier ) ) { return null; } return "var(--{$identifier})"; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
global-variable-transformer.php
684 B
lrw-r--r--
2025-08-05 18:00:00
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).