# tableberg/0.2.1/includes/Deactivator.php

Tableberg – Simple Gutenberg Table Block, version 0.2.1. 37 lines.

- Page: https://pluginprobe.com/plugins/tableberg/0.2.1/code/includes/Deactivator.php
- Raw: https://pluginprobe.com/plugins/tableberg/0.2.1/raw/includes/Deactivator.php
- Modified: 2024-01-09T18:33:34+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.2.1/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 {

	/**
	 * Short Description. (use period)
	 *
	 * Long Description.
	 *
	 * @since    1.0.2
	 */
	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' );
	}

}

```
