$25 GRAYBYTE WORDPRESS FILE MANAGER $60

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/var/softaculous/sitepad/editor/site-data/plugins/gosmtp-pro/main/notifications/

HOME
Current File : /var/softaculous/sitepad/editor/site-data/plugins/gosmtp-pro/main/notifications//manager.php
<?php

namespace GOSMTP\Notifications;

class Manager{

	public $options = [];
	public $service = '';

	public function __construct(){

		//Load options
		$this->load_options();
	}

	public function load_options(){

		$options = get_option('gosmtp_options', []);
		$this->options = $options;
	}

	public function get_active_service(){

		if(!isset($this->options['notifications']['notification_service'])){
			return;
		}

		return $this->options['notifications']['notification_service'];
	}

	public function get_option($key, $service = '', $default = ''){

		$options = $this->options;

		if(!empty($service) && $service == $this->get_active_service()){
			$options = $this->options['notifications'];
		}

		return isset($options[$key]) ? $options[$key] : $default;
	}

	public function save_options($options){
		if(!method_exists($this, 'load_services_field')){
			return $options;
		}

		$fields = $this->load_services_field();

		foreach($fields as $key => $field){

			$val = '';

			if(!empty($_REQUEST[$this->service]) && isset($_REQUEST[$this->service][$key])){
				$val = sanitize_text_field(wp_unslash($_REQUEST[$this->service][$key]));
			}
			$options[$key] = $val;
		}
		
		return $options;
	}
}
?>


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Feb 2026 2.55 AM
root / root
0755
discord.php
0.957 KB
18 Feb 2026 11.32 PM
root / root
0644
email.php
1.043 KB
18 Feb 2026 11.32 PM
root / root
0644
manager.php
1.184 KB
18 Feb 2026 11.32 PM
root / root
0644
pushover.php
1.248 KB
18 Feb 2026 11.32 PM
root / root
0644
sender.php
1.146 KB
18 Feb 2026 11.32 PM
root / root
0644
slack.php
0.965 KB
18 Feb 2026 11.32 PM
root / root
0644
webhook.php
0.855 KB
18 Feb 2026 11.32 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF