set_url_scheme Wordpress function


Description:

Set the scheme for a URL


Syntax:


Arguments:

(string) $url Absolute url that includes a scheme
(string) $scheme Optional. Scheme to give $url. Currently 'http', 'https', 'login', 'login_post', 'admin', or 'relative'.


Return Type:

(string) $url URL with chosen scheme.


Define At:

wp-includes/link-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/set_url_scheme


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×