Script Quote, Reply, Like Hooks for custom push notification
Apr 19, 2021 6:12 pm
I am developing a web plus a mobile app. I would like to know how can i find the Quote, Reply (@ someone), Like hooks so that i can develop custom push notification on both my WordPress web and Mobile App, thanks!
I guess there must be a hook for these action because wpforo will send user email whenever these action is done (except Like).
Apr 19, 2021 8:14 pm
You should use the add action function for the following action hook. This hook sends three parameters. They are all array variables, containing all information about the current post, topic and forum:
do_action( 'wpforo_after_add_post', $post, $topic, $forum );