SHELL BYPASS 403 |
Modern UI. Responsive. Powerful.

Faizzz-Chin Shell

Uname\Kernel: Linux server.kxo.bgz.mybluehostin.me 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
Server: Apache
PHP Version: 8.2.28 [ PHP INFO ]
Operating System: Linux
Server Ip: 162.240.163.222
Your Ip: 216.73.216.114
Date Time: 2025-07-11 18:59:07
User: dilseshaadi (1027) | Group: dilseshaadi (1027)
Safe Mode: OFF
Disable Function: exec,passthru,shell_exec,system

name : announcement.php
<?php

namespace Elementor\Modules\Announcements\Classes;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class Announcement {

	/**
	 * @var array
	 */
	protected $raw_data;
	/**
	 * @var array
	 */
	protected $triggers;

	public function __construct( array $data ) {
		$this->raw_data = $data;
		$this->set_triggers();
	}

	/**
	 * @return array
	 */
	protected function get_triggers(): array {
		return $this->triggers;
	}

	protected function set_triggers() {
		$triggers = $this->raw_data['triggers'] ?? [];
		foreach ( $triggers as $trigger ) {
			$this->triggers[] = Utils::get_trigger_object( $trigger );
		}
	}

	/**
	 * Is Active is_active
	 *
	 * @return bool
	 */
	public function is_active(): bool {
		$triggers = $this->get_triggers();

		if ( empty( $triggers ) ) {
			return true;
		}

		foreach ( $triggers as $trigger ) {
			if ( ! $trigger->is_active() ) {
				return false;
			}
		}

		return true;
	}

	public function after_triggered() {
		foreach ( $this->get_triggers() as $trigger ) {
			if ( $trigger->is_active() ) {
				$trigger->after_triggered();
			}
		}
	}

	/**
	 * @return array
	 */
	public function get_prepared_data(): array {
		$raw_data = $this->raw_data;
		unset( $raw_data['triggers'] );

		return $raw_data;
	}
}
© 2025 Faizzz-Chin