WordPress at Your Fingertips
filter is not described

home_url filter-hook . WP 3.0.0

Filters the home URL.


add_filter( 'home_url', 'filter_function_name_103', 10, 4 );
function filter_function_name_103( $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 3334
return apply_filters( 'home_url', $url, $path, $orig_scheme, $blog_id );

Where in WP core the hook is used WordPress

Usage not found.