bloginfo (tag)

get_bloginfo()

Gets information about the site from the settings.

get_id_from_blogname()

Gets the site (blog) ID by the specified slug: subdomain or directory name.