Re: get_bloginfo in bbpress
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!