Un motore di ricerca WordPress per sviluppatori e autori di temi



site_url ›

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

Filters the site URL.





Sorgenti

return apply_filters( 'site_url', $url, $path, $scheme, $blog_id );