13 years, 2 months ago
You can do a global on $bb_post and then access any of the fields from there:
so $bb_post->post_id is what you want.
There’s probably an internal function to do the same thing but there’s the direct way.
Follow bbPress on Twitter •
Contact Us •
Terms of Service