Get parent forum id upon new reply submit
-
Two part question here…would love any suggestions or insight. I’m working on coding some custom functions to enhance bbedit functionality.
Part 1:
I would like to add some post meta to a new reply. What would be the appropriate hook/action location in which to do this? I can get the postid at this point and add postmeta, but not sure where to hook into things.
Part 2:
At the location in Part 1, how would I go about getting the parent forum id? It seems as though the reply form has the topic postid…so I’ve got that. But how do I find the parent forum?
Thank you so much!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.