Sindbad~EG File Manager
<?php
/**
* Class SimpleGoogleRecaptchaUninstall
*/
class SimpleGoogleRecaptchaUninstall
{
/**
* SimpleGoogleRecaptchaUninstall constructor.
*/
public function __construct()
{
if (!defined('WP_UNINSTALL_PLUGIN')) {
die('Direct access not allowed');
}
$this->sgr_delete(array("site_key", "secret_key", "login_check_disable"));
}
private function sgr_delete($array)
{
foreach ($array as $item) {
delete_option(sprintf("sgr_%s", $item));
}
}
}
new SimpleGoogleRecaptchaUninstall();
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists