[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor
/
modules
/
atomic-widgets
/
styles
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 cache-validity
SET
[ DEL ]
📄 atomic-styles-manager.php
7,443 B
SET
[ EDIT ]
|
[ DEL ]
📄 atomic-widget-base-styles.php
1,240 B
SET
[ EDIT ]
|
[ DEL ]
📄 atomic-widget-styles.php
3,820 B
SET
[ EDIT ]
|
[ DEL ]
📄 css-files-manager.php
2,463 B
SET
[ EDIT ]
|
[ DEL ]
📄 size-constants.php
5,164 B
SET
[ EDIT ]
|
[ DEL ]
📄 style-definition.php
759 B
SET
[ EDIT ]
|
[ DEL ]
📄 style-file.php
946 B
SET
[ EDIT ]
|
[ DEL ]
📄 style-fonts.php
1,191 B
SET
[ EDIT ]
|
[ DEL ]
📄 style-schema.php
15,869 B
SET
[ EDIT ]
|
[ DEL ]
📄 style-states.php
2,454 B
SET
[ EDIT ]
|
[ DEL ]
📄 style-variant.php
898 B
SET
[ EDIT ]
|
[ DEL ]
📄 styles-renderer.php
5,152 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: atomic-widget-base-styles.php
<?php namespace Elementor\Modules\AtomicWidgets\Styles; use Elementor\Core\Utils\Collection; use Elementor\Modules\AtomicWidgets\Utils\Utils; use Elementor\Plugin; class Atomic_Widget_Base_Styles { const STYLES_KEY = 'base'; public function register_hooks() { add_action( 'elementor/atomic-widgets/styles/register', fn( Atomic_Styles_Manager $styles_manager ) => $this->register_styles( $styles_manager ), 10, 1 ); add_action( 'elementor/core/files/clear_cache', fn() => $this->invalidate_cache(), ); } private function register_styles( Atomic_Styles_Manager $styles_manager ) { $styles_manager->register( [ self::STYLES_KEY ], fn () => $this->get_all_base_styles(), ); } private function invalidate_cache() { do_action( 'elementor/atomic-widgets/styles/clear', [ self::STYLES_KEY ] ); } public function get_all_base_styles(): array { $elements = Plugin::$instance->elements_manager->get_element_types(); $widgets = Plugin::$instance->widgets_manager->get_widget_types(); return Collection::make( $elements ) ->merge( $widgets ) ->filter( fn( $element ) => Utils::is_atomic( $element ) ) ->map( fn( $element ) => $element->get_base_styles() ) ->flatten() ->all(); } }