Skip to content

Commit

Permalink
Delete module version when plugin is deactivated
Browse files Browse the repository at this point in the history
  • Loading branch information
wpscholar committed Apr 30, 2023
1 parent bbbe8ce commit c704572
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ function () use ( $container ) {
register_deactivation_hook(
$container->plugin()->file,
function () use ( $container ) {
delete_option( 'nfd_data_module_version' );
nfd_drop_event_queue_table();
}
);
Expand Down

0 comments on commit c704572

Please sign in to comment.