Codex tools: Log in
Given a blog's (subdomain or directory) name, retrieve it's id.
<?php get_id_from_blogname( $slug ) ?>
Since: 3.0.0
get_id_from_blogname() is located in wp-includes/ms-blogs.php
wp-includes/ms-blogs.php