Skip to:
Content
Pages
Categories
Search
Top
Bottom

get_bloginfo in bbpress

  • @darkling235

    Member

    does anyone know the bbpress equivalent of wordpress’s get_bloginfo function?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • @_ck_

    Participant

    I think you want bb_get_option()

    ie. bb_get_option(‘name’)

    etc.

    @aabd

    Member

    Thanks. i have the same problem!:)

    @mzimmers

    Member

    Now, for something really cool…is there some magic php code that will let us test for whether we’re executing bbpress or wordpress, and make this function call conditional? Like:

    if (we’re under the wordpress directory)

    get_bloginfo(etc)

    else if (we’re under the bbpress directory)

    bb_get_option(etc)

    end if

    This would be extremely helpful in developing robust modules that are used by both wp and bbpress.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar