Skip to content

Commit

Permalink
uninstall hook
Browse files Browse the repository at this point in the history
  • Loading branch information
kerkness committed Aug 13, 2021
1 parent 9d05ed4 commit 3fbe2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Admin/WCHubOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static function init()
*/
public function wc_hub_activation_hook()
{
register_uninstall_hook(_get_wc_hub_basename(), 'wc_hub_deactivation_hook' );
register_uninstall_hook(_get_wc_hub_basename(), [$this, 'wc_hub_deactivation_hook'] );
}

/**
Expand Down

0 comments on commit 3fbe2cb

Please sign in to comment.