# tableberg/0.5.7/includes/Deactivator.php

Tableberg – Simple Gutenberg Table Block, version 0.5.7. 33 lines.

- Page: https://pluginprobe.com/plugins/tableberg/0.5.7/code/includes/Deactivator.php
- Raw: https://pluginprobe.com/plugins/tableberg/0.5.7/raw/includes/Deactivator.php
- Modified: 2024-08-19T13:17:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/tableberg/0.5.7/code/includes/Deactivator.php#L10-L20`.

```php
<?php

/**
 * Fired during plugin deactivation
 *
 *  @package Tableberg
 */

namespace Tableberg;

/**
 * Fired during plugin deactivation.
 *
 * This class defines all code necessary to run during the plugin's deactivation.
 *
 * @since      1.0.2
 * @author     Imtiaz Rayhan <imtiazrayhan@gmail.com>
 */
class Deactivator
{

    public static function deactivate()
    {
        delete_option('tableberg_individual_control');
        delete_option('tableberg_block_properties');
        delete_option('tableberg_global_control');
        delete_option('tableberg_version');

        delete_transient('_welcome_redirect_tableberg');
        delete_option('tableberg_installDate');
    }
}

```
