Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (18 sloc) 0.428 kb
<?php
/*
* Basic security
* @todo check the plugin dir+filename
*/
if (!defined('ABSPATH') || !defined('WP_UNINSTALL_PLUGIN'))
{
exit('Invalid deletion.');
}
//bootstraps the plugin ; heavy but working
require_once dirname(__FILE__).'/amazon-widgets-shortcodes.php';
/*
* 1) deleting known options
*/
foreach (array_keys(AmazonWidgetsShortcodeConfiguration::getOptions()) as $option_id)
{
delete_option($option_id);
}
Jump to Line
Something went wrong with that request. Please try again.