How can one determine, from functions.php, the blog-id of the site (or alternately, the path to the media directory)?
For the current site, you can use the $current_site global variable and look at the blog_id member variable, e.g. $current_site->blog_id
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago