WordPress at a glance
filter is not described

home_url filter-hook . WP 3.0.0

Filters the home URL.


add_filter( 'home_url', 'filter_function_name_1883', 10, 4 );
function filter_function_name_1883( $url, $path, $orig_scheme, $blog_id ){
	// filter...

	return $url;
The complete home URL including scheme and path.
Path relative to the home URL. Blank string if no path is specified.
Scheme to give the home URL context. Accepts 'http', 'https', 'relative', 'rest', or null.
Site ID, or null for the current site.


Since 3.0.0 Introduced.

Where the hook is called

wp-includes/link-template.php 3126
return apply_filters( 'home_url', $url, $path, $orig_scheme, $blog_id );

Where the hook is used (in WP core)

Usage not found!