Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Adding menu items to the admin bar


r-a-y
Keymaster

@r-a-y

You need to call the global before you can use it.

global $current_blog;

The blog id is $current_blog->blog_id

$current_blog is a multi-site only variable though. I haven’t read the whole thread so I’m not sure what you guys are trying to do ;)

Skip to toolbar