wpseek.com
A WordPress-centric search engine for devs and theme authors



set_url_scheme › WordPress Filter Hooks

Since3.4.0
Deprecatedn/a
apply_filters( 'set_url_scheme', $url, $scheme, $orig_scheme )
Parameters: (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
Defined at:
Codex:

Filters the resulting URL after setting the scheme.





Source

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