includes_url

FUNCTION wp-includes\link-template.php (ligne 3596) github
Filters the admin area URL.

Paramètres

Entrée :
$path = '', $scheme = null
Sortie :
@param string      $url     The complete admin area URL including scheme and path.
@param string      $path    Path relative to the admin area URL. Blank string if no path is specified.
@param int|null    $blog_id Site ID, or null for the current site.
@param string|null $scheme  The scheme to use. Accepts 'http', 'https',
@param string      $path   Optional. Path relative to the includes URL. Default empty.
@param string|null $scheme Optional. Scheme to give the includes URL context. Accepts
@return string Includes URL link with optional path appended.

Utilisation

// Utilisation de la fonction includes_url
$result = includes_url($path = '', $scheme = null);

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

Actualités

Chargement des actualités...