PluginProbe
CloudGuard / trunk
CloudGuard vtrunk
cloudguard / uninstall.php

uninstall.php in CloudGuard trunk, at uninstall.php

13 lines 393 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // If uninstall not called from WordPress exit.
4 if ( !defined( 'WP_UNINSTALL_PLUGIN' ) || !WP_UNINSTALL_PLUGIN || dirname( WP_UNINSTALL_PLUGIN ) != dirname( plugin_basename( __FILE__ ) ) ) {
5 status_header(404);
6 exit;
7 }
8
9 //cloudguard_flush_htacess();
10
11 delete_option('cloudguard_options');
12 delete_option('cloudguard_blocked_attempts');
13 delete_option('cloudguard_nag');