Limited Support
Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.
We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!
Merry Christmas and Happy Holidays! 🎄
Mar 21, 2017 5:07 pm
Dear wpForo team,
are there any wpForo hooks when I add new post to existed topic or update some post in such topic?
I would like to write a function to delete cache files of caching plugin when some of these events is occur.
Thanks!
2 Replies
Mar 21, 2017 5:13 pm
These action hooks maybe useful:
- 'wpforo_after_add_topic' - arg: (array)$topic
- 'wpforo_start_edit_topic' - arg: (array)$topic
- 'wpforo_after_add_post' - args: (array)$post, (array)$topic
- 'wpforo_start_edit_post' - args: (array)$post
Mar 21, 2017 5:27 pm
Thank you Robert! I will try these hooks.