Filters the admin URL for the current site or network depending on context.
$url, $scheme = null
Sortie :
@param string $url The complete URL including scheme and path. @param string $path Path relative to the URL. Blank string if no path is specified. @param string $scheme The scheme to use. @param string $url Absolute URL that includes a scheme @param string|null $scheme Optional. Scheme to give $url. Currently 'http', 'https', 'login', @return string URL with chosen scheme.
// Utilisation de la fonction set_url_scheme
$result = set_url_scheme($url, $scheme = null);
if ($result) {
// Votre logique ici
}
Chargement des actualités...