Saving thanks in the Thanks module runs two actions. Second one is ‘gdbbx_say_thanks_saved‘. This action is run just after the thanks is saved into the database.
This filter provides 2 arguments.
- $post_id: ID of the topic or reply
- $user_id: ID of the user giving thanks