Reply Walker output to JSON format
I’m working on an application what communicate to bbPress using RESTful API. I’m struggling to find an equivalent function that would output the nested/threaded topic replies into a data structure such as array or JSON format. I see that
bbp_list_replies()does just what I wanted, but rather than putting the result inside a data structure, this function displays the output as HTML data. Is there a function which will accomplish my description above or is this something I’ll have to write up?
- You must be logged in to reply to this topic.