get_site_url Wordpress function


Description:

Retrieve the site url for a given site.


Syntax:


Arguments:

(int) $blog_id (optional) Blog ID. Defaults to current blog.
(string) $path Optional. Path relative to the site url.
(string) $scheme Optional. Scheme to give the site url context. Currently 'http', 'https', 'login', 'login_post', 'admin', or 'relative'.


Return Type:

(string) Site url link with optional path appended.


Define At:

wp-includes/link-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_site_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 ×