PluginProbe ʕ •ᴥ•ʔ
Redirection / 1.2.6
Redirection v1.2.6
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 1 year ago assets 1 year ago includes 1 year ago modules 1 year ago activation.php 1 year ago deactivation.php 1 year ago index.html 1 year ago readme.txt 1 year ago redirect-redirection.php 1 year ago uninstall.php 1 year 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