| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* The code in this file runs when a plugin is uninstalled from the WordPress dashboard. |
| 5 |
*/ |
| 6 |
|
| 7 |
/* If uninstall is not called from WordPress exit. */ |
| 8 |
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { |
| 9 |
exit (); |
| 10 |
} |
| 11 |
|
| 12 |
/* Place uninstall code below here. */ |
| 13 |
|
| 14 |
delete_option( 'wsc' ); |
| 15 |
delete_option( 'wsc_proofreader_version' ); |
| 16 |
delete_option( 'wsc_proofreader_info' ); |
| 17 |
delete_option( 'wsc_proofreader' ); |