Skip to content

Commit

Permalink
Update uninstall.php
Browse files Browse the repository at this point in the history
  • Loading branch information
luizbills authored Jun 24, 2022
1 parent 11d8c53 commit 68597c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
The constant is NOT defined when uninstall is performed by `register_uninstall_hook`.
Reference: https://developer.wordpress.org/plugins/plugin-basics/uninstall-methods/#method-2-uninstall-php
*/
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit( 1 );
}
defined( 'WP_UNINSTALL_PLUGIN' ) || exit( 1 );

// $option_name = 'your_plugin_option';
// delete_option( $option_name );
Expand Down

0 comments on commit 68597c1

Please sign in to comment.