Plugin Author
WPKube
(@wpkube)
Hi @amitaits
Depends on the way the AJAX submission is implemented, since AJAX submission for comments is not a core WordPress functionality I can’t say for sure.
Are you using a plugin for that or some specific code available on Github or somewhere else where I can check it out.
Hi @wpkube
My server-side implementation is primarily based on this tutorial.
I can confirm that the POST data contains subscribe-reloaded: replies as well.
Additionally, I would like to know does the plugin notify after comment approval in case the moderation is enabled rather than when it is posted?
Thank you
Plugin Author
WPKube
(@wpkube)
Hi @amitaits
I implemented that code and tested it out, the subscription did get added.
The important part is that the POST data contains it and that in the code you have wp_handle_comment_submission function, the action “comment_post” is then called and that’s what the plugin hooks into when it handles the subscription.
As for notifications, they are sent out when the comment is approved.
Hi @wpkube
I’ve tested the same in a local installation and the subscriber is added in the database. I will set it up to the live site sooner.
Thanks for the time and testing