1 | <?php |
||
2 | |||
3 | /* |
||
4 | * Copyright (c) 2017 Salah Alkhwlani <[email protected]> |
||
5 | * |
||
6 | * For the full copyright and license information, please view |
||
7 | * the LICENSE file that was distributed with this source code. |
||
8 | */ |
||
9 | |||
10 | // If file is not invoked by WordPress, exit. |
||
11 | if (!\defined('WP_UNINSTALL_PLUGIN')) { |
||
12 | exit; |
||
13 | } |
||
14 | |||
15 | // Register autoloader for this plugin. |
||
16 | require_once __DIR__ . '/vendor/autoload.php'; |
||
17 | |||
18 | // Construct plugin instance. |
||
19 | $security = new \Yemenifree\WpSecurity\Plugin(plugin_basename(__FILE__)); |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
20 | // Run uninstall actions. |
||
21 | $security->uninstall(); |
||
22 |