Filters the URL to the includes directory.
$path = ''
Sortie :
@param string $url The complete URL to the includes directory including scheme and path. @param string $path Path relative to the URL to the wp-includes directory. Blank string @param string|null $scheme Scheme to give the includes URL context. Accepts @param string $path Optional. Path relative to the content URL. Default empty. @return string Content URL link with optional path appended.
// Utilisation de la fonction content_url
$result = content_url($path = '');
if ($result) {
// Votre logique ici
}
Chargement des actualités...