WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about set_url_scheme

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/link-template.php apply_filters 3843 /**
* Filters the resulting URL after setting the scheme.
*
* @since 3.4.0
*
* @param string $url The complete URL including scheme and path.
* @param string $scheme Scheme applied to the URL. One of 'http', 'https', or 'relative'.
* @param string|null $orig_scheme Scheme requested for the URL. One of 'http', 'https', 'login',
* 'login_post', 'admin', 'relative', 'rest', 'rpc', or null.
*/

Hook Parameters

Parameter Type Name Description
string $url The complete URL including scheme and path.
string $scheme Scheme applied to the URL. One of 'http', 'https', or 'relative'.
string|null $orig_scheme Scheme requested for the URL. One of 'http', 'https', 'login',