Notifications
Clear all

Script [Closed] Quote, Reply, Like Hooks for custom push notification

2 Posts
2 Users
0 Reactions
922 Views
Posts: 38
Topic starter
(@pyue6299)
Trusted Member
Joined: 4 years ago

Hi team

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). 

Cheers!

Topic Tags
1 Reply
Robert
Posts: 10591
Admin
(@robert)
Support Team
Joined: 9 years ago

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 );