get_blog_id_from_url Wordpress function


Description:

Get a blog's numeric ID from its URL.


Syntax:


Arguments:

(string) $domain
(string) $path Optional. Not required for subdomain installations.


Return Type:

(int) 0 if no blog found, otherwise the ID of the matching blog


Define At:

wp-includes/ms-functions.php


Wordpress Reference URL:

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


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