apply_filters( 'set_url_scheme', string $url, string $scheme, string|null $orig_scheme )

Filters the resulting URL after setting the scheme.


Description Description


Parameters Parameters

$url

(string) The complete URL including scheme and path.

$scheme

(string) Scheme applied to the URL. One of 'http', 'https', or 'relative'.

$orig_scheme

(string|null) Scheme requested for the URL. One of 'http', 'https', 'login', 'login_post', 'admin', 'relative', 'rest', 'rpc', or null.


Top ↑

Source Source

File: wp-includes/link-template.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.