wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



home_url › WordPress Filter Hooks

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

Filters the home URL.





Sorgenti

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