PluginProbe ʕ •ᴥ•ʔ
Redirection / 1.2.0
Redirection v1.2.0
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 2 years ago assets 2 years ago includes 2 years ago modules 2 years ago activation.php 2 years ago deactivation.php 2 years ago index.html 2 years ago readme.txt 2 years ago redirect-redirection.php 2 years ago uninstall.php 2 years 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