Filters the network site URL.
$path = '', $scheme = null
Sortie :
@param string $url The complete network site URL including scheme and path. @param string $path Path relative to the network site URL. Blank string if @param string|null $scheme Scheme to give the URL context. Accepts 'http', 'https', @param string $path Optional. Path relative to the home URL. Default empty. @param string|null $scheme Optional. Scheme to give the home URL context. Accepts @return string Home URL link with optional path appended.
// Utilisation de la fonction network_home_url
$result = network_home_url($path = '', $scheme = null);
if ($result) {
// Votre logique ici
}
Chargement des actualités...