Add upstream
This commit is contained in:
15
wp-content/plugins/wp-recaptcha/uninstall.php
Normal file
15
wp-content/plugins/wp-recaptcha/uninstall.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
// this is the uninstall handler
|
||||
// include unregister_setting, delete_option, and other uninstall behavior here
|
||||
|
||||
require_once('wp-plugin.php');
|
||||
|
||||
function uninstall_options($name) {
|
||||
unregister_setting("${name}_group", $name);
|
||||
WPPlugin::remove_options($name);
|
||||
}
|
||||
|
||||
// recaptcha
|
||||
uninstall_options('recaptcha_options');
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user