403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/revivere/www/wp-content/themes/hello-biz/modules/admin-home/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/revivere/www/wp-content/themes/hello-biz/modules/admin-home/module.php
<?php

namespace HelloBiz\Modules\AdminHome;

use HelloBiz\Includes\Module_Base;

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

/**
 * class Module
 *
 * @package HelloPlus
 * @subpackage HelloPlusModules
 */
class Module extends Module_Base {
	const MENU_PAGE_SLUG = 'hello-biz';

	/**
	 * @inheritDoc
	 */
	public static function get_name(): string {
		return 'admin-home';
	}

	/**
	 * @inheritDoc
	 */
	protected function get_component_ids(): array {
		return [
			'Admin_Menu_Controller',
			'Admin_Bar_Controller',
			'Scripts_Controller',
			'Api_Controller',
		];
	}

	protected function register_hooks(): void {
		add_action( 'upgrader_process_complete', [ $this, 'add_attribution' ], 10, 2 );
	}

	public function add_attribution( $upgrader_object, $options ) {
		if ( 'update' === $options['action'] && 'plugin' === $options['type'] ) {
			$installed_plugin = filter_input( INPUT_GET, 'plugin', FILTER_UNSAFE_RAW );
			$referrer = filter_input( INPUT_GET, 'referrer', FILTER_UNSAFE_RAW );

			if ( 'hello-biz' === $referrer && 'image-optimization' === $installed_plugin ) {
				$campaign_data = [
					'source' => 'io-ehp-install',
					'campaign' => 'io-plg',
					'medium' => 'wp-dash',
				];

				set_transient( 'elementor_image_optimization_campaign', $campaign_data, 30 * DAY_IN_SECONDS );
			}
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit