Un motore di ricerca WordPress per sviluppatori e autori di temi



set_url_scheme ›

Da3.4.0
Deprecaton/a
apply_filters( 'set_url_scheme', $url, $scheme, $orig_scheme )
Parametri: (3)
  • (string) $url The complete URL including scheme and path.
    Richiesto:
  • (string) $scheme Scheme applied to the URL. One of 'http', 'https', or 'relative'.
    Richiesto:
  • (string|null) $orig_scheme Scheme requested for the URL. One of 'http', 'https', 'login', 'login_post', 'admin', 'relative', 'rest', 'rpc', or null.
    Richiesto:
Definito a:
Codex:

Filters the resulting URL after setting the scheme.





Sorgenti

return apply_filters( 'set_url_scheme', $url, $scheme, $orig_scheme );