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 |