get_id_from_blogname Wordpress function


Description:

Given a blog's (subdomain or directory) slug, retrieve its id.


Syntax:


Arguments:

(string) $slug


Return Type:

(int) A blog id


Define At:

wp-includes/ms-blogs.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_id_from_blogname


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×