WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about home_url

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/link-template.php apply_filters 3374 /**
* Filters the home URL.
*
* @since 3.0.0
*
* @param string $url The complete home URL including scheme and path.
* @param string $path Path relative to the home URL. Blank string if no path is specified.
* @param string|null $orig_scheme Scheme to give the home URL context. Accepts 'http', 'https',
* 'relative', 'rest', or null.
* @param int|null $blog_id Site ID, or null for the current site.
*/

Hook Parameters

Parameter Type Name Description
string $url The complete home URL including scheme and path.
string $path Path relative to the home URL. Blank string if no path is specified.
string|null $orig_scheme Scheme to give the home URL context. Accepts 'http', 'https',
int|null $blog_id Site ID, or null for the current site.