A WordPress-centric search engine for devs and theme authors



home_url ›

Since3.0.0
Deprecatedn/a
apply_filters( 'home_url', $url, $path, $orig_scheme, $blog_id )
Parameters: (4)
  • (string) $url The complete home URL including scheme and path.
    Required: Yes
  • (string) $path Path relative to the home URL. Blank string if no path is specified.
    Required: Yes
  • (string|null) $orig_scheme Scheme to give the home URL context. Accepts 'http', 'https', 'relative', 'rest', or null.
    Required: Yes
  • (int|null) $blog_id Site ID, or null for the current site.
    Required: Yes
Defined at:
Codex:

Filters the home URL.





Source

return apply_filters( 'home_url', $url, $path, $orig_scheme, $blog_id );