includes/staticwp-admin.class.php
public function deactivate()
    {
        $muPluginFile = WP_CONTENT_DIR . '/mu-plugins/' . $this->plugin . '-mu.php';

        if (is_file($muPluginFile)) {
            unlink($muPluginFile);
        }

        if (is_dir($this->destination)) {
            $this->rrmdir(dirname($this->destination));
        }

        delete_option($this->plugin . 'version');
        delete_option('staticwp_deferred_admin_notices');
    }
public function deactivate()
    {
        $muPluginFile = WP_CONTENT_DIR . '/mu-plugins/' . $this->plugin . '-mu.php';

        if (is_file($muPluginFile)) {
            unlink($muPluginFile);
        }

        if (is_dir($this->destination)) {
            $this->rrmdir(dirname($this->destination));
        }

        delete_option($this->plugin . 'version');
        delete_option('staticwp_deferred_admin_notices');
    }
public function deactivate ( ) { $ muPluginFile = WP_CONTENT_DIR . '/mu-plugins/' . $ this -> plugin . '-mu.php' ; if ( is_file ( $ muPluginFile ) ) { unlink ( $ muPluginFile ) ; } if ( is_dir ( $ this -> destination ) ) { $ this -> rrmdir ( dirname ( $ this -> destination ) ) ; } delete_option ( $ this -> plugin . 'version' ) ; delete_option ( 'staticwp_deferred_admin_notices' ) ; }
Cleans up after itself on deactivation.

@since 1.1.0

@return void
Cleans up after itself on deactivation .