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.