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