How to create a notification?

Solved4.12K viewsWordPress
0

Hi,

I want to create some relationship between wpDiscuz – Supercharged native comments plugin and Anspress. In this plugin there are a code like when you vote up or down it changes comment’s meta key’s value. I want to change user reputation according to up or down vote by user id. I want to create notification in comment likes and dislikes about reputation change.

How can I create a custom notification and call it?

Thanks.

0

This is already exists in activity-hook, just un-comment it. check here:

https://github.com/anspress/anspress/blob/master/includes/activity-hooks.php#L41