get_site_icon_url

FUNCTION wp-includes\general-template.php (ligne 926) github
Filters the URL returned by get_bloginfo().

Paramètres

Entrée :
$size = 512, $url = '', $blog_id = 0
Sortie :
@param string $output The URL returned by bloginfo().
@param string $show   Type of information requested.
@param mixed  $output The requested non-URL site information.
@param string $show   Type of information requested.
@param int    $size    Optional. Size of the site icon. Default 512 (pixels).
@param string $url     Optional. Fallback url if no site icon is found. Default empty.
@param int    $blog_id Optional. ID of the blog to get the site icon for. Default current blog.
@return string Site Icon URL.

Utilisation

// Utilisation de la fonction get_site_icon_url
$result = get_site_icon_url($size = 512, $url = '', $blog_id = 0);

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

Actualités

Chargement des actualités...