Skip to content

Commit

Permalink
Uninstall script added.
Browse files Browse the repository at this point in the history
  • Loading branch information
gsarig committed Sep 26, 2020
1 parent d7c2a04 commit 6a47240
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions uninstall.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
/**
* Uninstall Out of the Block: OpenStreetMap
*
* @package OOTB
* @since 1.2
*/

if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit();
}

$option_name = 'ootb_options';

delete_option( $option_name );

0 comments on commit 6a47240

Please sign in to comment.