Filters the URL to the content directory.
$path = '', $plugin = ''
Sortie :
@param string $url The complete URL to the content directory including scheme and path. @param string $path Path relative to the URL to the content directory. Blank string @param string $path Optional. Extra path appended to the end of the URL, including @param string $plugin Optional. A full path to a file inside a plugin or mu-plugin. @return string Plugins URL link with optional paths appended.
// Utilisation de la fonction plugins_url
$result = plugins_url($path = '', $plugin = '');
if ($result) {
// Votre logique ici
}
Chargement des actualités...