42 lines
926 B
PHP
42 lines
926 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Fired during plugin deactivation
|
||
|
|
*
|
||
|
|
* @link http://secureprivacy.ai/
|
||
|
|
* @since 1.0.0
|
||
|
|
*
|
||
|
|
* @package Secureprivacy
|
||
|
|
* @subpackage Secureprivacy/includes
|
||
|
|
*/
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Fired during plugin deactivation.
|
||
|
|
*
|
||
|
|
* This class defines all code necessary to run during the plugin's deactivation.
|
||
|
|
*
|
||
|
|
* @since 1.0.0
|
||
|
|
* @package Secureprivacy
|
||
|
|
* @subpackage Secureprivacy/includes
|
||
|
|
* @author Secure Privacy <hello@secureprivacy.ai>
|
||
|
|
*/
|
||
|
|
class Secureprivacy_Deactivator {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Short Description. (use period)
|
||
|
|
*
|
||
|
|
* Long Description.
|
||
|
|
*
|
||
|
|
* @since 1.0.0
|
||
|
|
*/
|
||
|
|
public static function deactivate() {
|
||
|
|
delete_option( 'outdated_notice_adminId' );
|
||
|
|
delete_option( 'outdated_notice_planName' );
|
||
|
|
delete_option( 'outdated_notice_sessionId' );
|
||
|
|
delete_option( 'outdated_notice_domainId' );
|
||
|
|
delete_option( 'outdated_notice_client_id' );
|
||
|
|
delete_option( 'outdated_notice_client_secret' );
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|