Replies: 0
Firstly, great plugin and exactly what I need/needed.
With the custom theme I’ve developed for client I’ve made good use of multiple notifications but there was one that I was struggling with and that was the comment notification to the author.
After some digging and debugging it was due to me creating the comments for the custom post type using wp_insert_comment which doesn’t trigger the comment_post action. rest_insert_comment does get triggered by this however.
I have edited my comment creation code to use wp_new_comment to get it working but might be worth considering supporting the rest_insert_comment as well.
Found a couple of topics with comment issues and wonder if this is why as comment status change triggers fine but not creation of a comment using wp_insert_comment.
Again, amazing work and hope this is useful and possibly useful for useful for users who are having issues with comment notifications with plugins and themes.