Tagged: buddypress, new blog post, Notifications
Hi Brajesh Singh,
I need your help again.
I am using this custom notification code. It works perfectly.
When I open a new blog post, all users are notified. (True)
But when I update the post, all users are notified again. (False)
How do I prevent this?
- Brajesh Singh on November 24, 2017 at 5:36 am #11834
Instead of publish post, you should add notification on transition_post_status and make sure to change that the status transition is from non published to publish.
Please see an example here
Hope that helps.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
This topic is: not resolved