| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/KnowledgeBase/wp-content/plugins/smtp2go/app/ |
Upload File : |
<?php
namespace SMTP2GO\App;
/**
* Fired during plugin deactivation
*
* @link https://www.smtp2go.com
* @since 1.0.1
*
* @package SMTP2GO\WordpressPlugin
*/
/**
* Fired during plugin deactivation.
*
* This class defines all code necessary to run during the plugin's deactivation.
*
* @since 1.0.1
* @package SMTP2GO\WordpressPlugin
* @subpackage SMTP2GO\WordpressPlugin/includes
* @author SMTP2GO <ticket@smtp2go.com>
*/
class WordpressPluginDeactivator
{
/**
* Short Description. (use period)
*
* Long Description.
*
* @since 1.0.1
*/
public static function deactivate()
{
}
public static function uninstall()
{
foreach (['smtp2go_api_key',
'smtp2go_custom_headers',
'smtp2go_enabled',
'smtp2go_from_address',
'smtp2go_from_name'] as $option_name) {
delete_option($option_name);
}
}
}