Notifications
Clear all

Script Quote, Reply, Like Hooks for custom push notification

2 Posts
2 Users
0 Likes
351 Views
pyue6299
Posts: 38
Topic starter
(@pyue6299)
Eminent Member
Joined: 2 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: 9321
Admin
(@robert)
Support Team
Joined: 6 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 );
Reply
Share: