admin管理员组文章数量:1391976
I am trying to submit comment in Wordpress with Ajax request, but I am struggling with getting the parent comment's id. Is there any function I can use to get them?
I am trying to submit comment in Wordpress with Ajax request, but I am struggling with getting the parent comment's id. Is there any function I can use to get them?
Share Improve this question asked Feb 28, 2020 at 14:53 WinstonWinston 1452 silver badges10 bronze badges 4 |1 Answer
Reset to default -1Since you use Ajax, then I would get the current comment from the REST Api, and then get the parent from that.
本文标签: ajaxHow to get parent comment39s id
版权声明:本文标题:ajax - How to get parent comment's id? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744707254a2620913.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
wp_localize_script
– Winston Commented Feb 29, 2020 at 2:27