Submit
Path:
~
/
home
/
getwphos
/
www
/
sdp
/
wp-content
/
plugins
/
elementor
/
modules
/
atomic-widgets
/
styles
/
transformers
/
File Content:
size-transformer.php
<?php namespace Elementor\Modules\AtomicWidgets\Styles\Transformers; use Elementor\Modules\AtomicWidgets\Base\Style_Transformer_Base; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Size_Transformer extends Style_Transformer_Base { public static function type(): string { return 'size'; } /** * @param array{size: int, unit: string} $value * @param callable $transform * @return string */ public function transform( $value, callable $transform ): string { $size = (int) $value['size']; $unit = $value['unit']; return $size . $unit; } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
array-transformer.php
679 bytes
0644
linked-dimensions-transformer.php
989 bytes
0644
size-transformer.php
593 bytes
0644
N4ST4R_ID | Naxtarrr