first commit
This commit is contained in:
14
wp-content/plugins/really-simple-ssl/uninstall.php
Normal file
14
wp-content/plugins/really-simple-ssl/uninstall.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
// If uninstall is not called from WordPress, exit
|
||||
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
||||
exit();
|
||||
}
|
||||
|
||||
delete_all_options('rlrsssl_options');
|
||||
delete_all_options('rlrsssl_network_options');
|
||||
|
||||
function delete_all_options($option_name) {
|
||||
delete_option( $option_name );
|
||||
// For site options in Multisite
|
||||
delete_site_option( $option_name );
|
||||
}
|
||||
Reference in New Issue
Block a user