wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



home_url › WordPress Filter Hooks

Seit3.0.0
Veraltetn/v
apply_filters( 'home_url', $url, $path, $orig_scheme, $blog_id )
Parameter: (4)
  • (string) $url The complete home URL including scheme and path.
    Erforderlich: Ja
  • (string) $path Path relative to the home URL. Blank string if no path is specified.
    Erforderlich: Ja
  • (string|null) $orig_scheme Scheme to give the home URL context. Accepts 'http', 'https', 'relative', 'rest', or null.
    Erforderlich: Ja
  • (int|null) $blog_id Site ID, or null for the current site.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the home URL.





Quellcode

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