apply_filters( 'set_url_scheme', string $url , string $scheme , string|null $orig_scheme )
Filters the resulting URL after setting the scheme.
Parameters
- $url
-
The complete URL including scheme and path.
- $scheme
-
Scheme applied to the URL. One of 'http', 'https', or 'relative'.
- $orig_scheme
-
Scheme requested for the URL. One of 'http', 'https', 'login', 'login_post', 'admin', 'relative', 'rest', 'rpc', or null.
Source
Changelog
Version | Description |
---|---|
WP-3.4.0 | Introduced. |