home_url Wordpress function


Description:

Retrieve the home url for the current site.


Syntax:


Arguments:

(string) $path (optional) Path relative to the home url.
(string) $scheme (optional) Scheme to give the home url context. Currently 'http', 'https', or 'relative'.


Return Type:

(string) Home url link with optional path appended.


Define At:

wp-includes/link-template.php


Wordpress Reference URL:

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