Hot to get post id
I can get the “activity id” by the this code:
$activity_id = bp_get_activity_id();
So, What can I get “post id (at BBPress)” by writing what?
$bbp_post_id = ???;
However, because I want to acquire from “BuddyPress” instead of “BBpress” acquisition,
bbp_get_reply_id()is not good.
I would like to write in “BuddyPress” template (such as entry.php) and get “post id (at BBPress)”.
- You must be logged in to reply to this topic.