Uma área de pesquisa sobre o WordPress para devs e autores do tema



set_url_scheme ›

Desde3.4.0
Obsoleton/a
apply_filters( 'set_url_scheme', $url, $scheme, $orig_scheme )
Parâmetros: (3)
  • (string) $url The complete URL including scheme and path.
    Required: Yes
  • (string) $scheme Scheme applied to the URL. One of 'http', 'https', or 'relative'.
    Required: Yes
  • (string|null) $orig_scheme Scheme requested for the URL. One of 'http', 'https', 'login', 'login_post', 'admin', 'relative', 'rest', 'rpc', or null.
    Required: Yes
Definido em:
Codex:

Filters the resulting URL after setting the scheme.





Fonte

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