How to get a list of forums
I just want a simple list. I tried
$forums = get_posts( array( ‘post_type’ => bbp_get_forum_post_type(), ‘numberposts’ => 99 ) );
But that does not return private posts. (Digging into get_posts is a huge maze of code.)
I was hoping just to use the Admin All Forums code as a guide, but I cannot find it! What in BB Press generates that form?
- You must be logged in to reply to this topic.