PluginProbe ʕ •ᴥ•ʔ
Redirection / 1.2.8
Redirection v1.2.8
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0
redirect-redirection / uninstall.php
redirect-redirection Last commit date
analyst 4 months ago assets 4 months ago includes 4 months ago modules 4 months ago activation.php 4 months ago deactivation.php 4 months ago index.html 4 months ago readme.txt 4 months ago redirect-redirection.php 4 months ago uninstall.php 4 months ago
uninstall.php
20 lines
1 <?php
2
3 if (!defined("ABSPATH")) {
4 exit();
5 }
6
7 include_once "includes/irrp-constants.php";
8 include_once "includes/irrp-db-manager.php";
9
10 // if uninstall.php is not called by WordPress, die
11 if (!defined("WP_UNINSTALL_PLUGIN")) {
12 die;
13 }
14
15 delete_option(IRRPConstants::OPTIONS_MAIN);
16 delete_site_option(IRRPConstants::OPTIONS_MAIN);
17
18 $dbManager = new IRRPDBManager();
19 $dbManager->dropTables();
20