gdbbx_say_thanks_saved
This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!
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.
Arguments
- $post_id: ID of the topic or reply
- $user_id: ID of the user giving thanks