Removing thanks in the Thanks module runs two actions. First one is ‘gdbbx_user_removed_thanks‘. This action is run just before the thanks is removed from the database.
This filter provides 2 arguments.
- $post_id: ID of the topic or reply
- $user_id: ID of the user removing own thanks