Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: how to invoke bbpress from a bp plugin? (for $bbdb settings and meta options)


r-a-y
Keymaster

@r-a-y

You shouldn’t need to require anything since BP already loads it (if you have forums enabled).

You should be able to just grab the meta using one of the bbPress meta calls.

eg.

bb_get_postmeta(bp_get_the_topic_post_id(), $cachekey)

Make sure when grabbing the meta that you do a check to see if you’re on a forum post.

Skip to toolbar