plugins_url

FUNCTION wp-includes\link-template.php (ligne 3658) github
Filters the URL to the content directory.

Paramètres

Entrée :
$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

// Utilisation de la fonction plugins_url
$result = plugins_url($path = '', $plugin = '');

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...