[ 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
/
announcements
/
classes
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 announcement.php
1,280 B
SET
[ EDIT ]
|
[ DEL ]
📄 trigger-base.php
442 B
SET
[ EDIT ]
|
[ DEL ]
📄 utils.php
800 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: utils.php
<?php namespace Elementor\Modules\Announcements\Classes; use Elementor\Modules\Announcements\Triggers\{ IsFlexContainerInactive, AiStarted }; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Utils { /** * Get trigger object. * * @param $trigger * * @return IsFlexContainerInactive|false */ public static function get_trigger_object( $trigger ) { $object_trigger = apply_filters( 'elementor/announcements/trigger_object', false, $trigger ); if ( false !== $object_trigger ) { return $object_trigger; } // @TODO - replace with trigger manager switch ( $trigger['action'] ) { case 'isFlexContainerInactive': return new IsFlexContainerInactive(); case 'aiStarted': return new AiStarted(); default: return false; } } }