Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Creating a reply programmatically, it doesn't appear in the forums

@casiepa

Moderator

@jsteckler1,
I have no idea on how things were setup, but just to add my idea:
– On save_post, launch your own routine
– in your routine, if it’s a topic, set the post_parent to the forum ID (so _bbp_forum_id)
– in your routine, it it’s a reply, set the post_parent to the topic ID (so _bbp_topic_id)

Skip to toolbar