does anyone know the bbpress equivalent of wordpress's get_bloginfo function?
Thanks
does anyone know the bbpress equivalent of wordpress's get_bloginfo function?
Thanks
I think you want bb_get_option()
ie. bb_get_option('name')
etc.
Thanks. i have the same problem!:)
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!
You must log in to post.