PluginProbe
Tableberg – Simple Gutenberg Table Block / 0.3.2
Tableberg – Simple Gutenberg Table Block v0.3.2
1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 trunk 0.0.2 0.2.1 0.3.2 0.3.3 0.4.1 0.5.0 0.5.1 0.5.2 0.5.3 0.5.4 0.5.5 0.5.6 0.5.7 All 42 releases
tableberg / includes / Deactivator.php

Deactivator.php in Tableberg – Simple Gutenberg Table Block 0.3.2, at includes/Deactivator.php

37 lines 710 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Fired during plugin deactivation
4 *
5 * @package Tableberg
6 */
7
8 namespace Tableberg;
9
10 /**
11 * Fired during plugin deactivation.
12 *
13 * This class defines all code necessary to run during the plugin's deactivation.
14 *
15 * @since 1.0.2
16 * @author Imtiaz Rayhan <imtiazrayhan@gmail.com>
17 */
18 class Deactivator {
19
20 /**
21 * Short Description. (use period)
22 *
23 * Long Description.
24 *
25 * @since 1.0.2
26 */
27 public static function deactivate() {
28 delete_option( 'tableberg_individual_control' );
29 delete_option( 'tableberg_block_properties' );
30 delete_option( 'tableberg_global_control' );
31 delete_option( 'tableberg_version' );
32
33 delete_transient( '_welcome_redirect_tableberg' );
34 }
35
36 }
37