WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

WPMU Functions/get bloginfo

Description

Retrieves information about the current blog. The function is located in: /wp-includes/general-template.php

Parameters

$show
(string) (optional) What information to get.
Default: name
$filter
(string) (optional) Get raw or display information.
Default: raw

$show

  • url
  • wpurl
  • description
  • rdf_url
  • rss_url
  • rss2_url
  • atom_url
  • comments_atom_url
  • comments_rss2_url
  • pingback_url
  • stylesheet_url
  • stylesheet_directory
  • template_directory
  • template_url
  • admin_email
  • charset
  • html_type
  • version
  • language
  • text_direction
  • name

Return Values

(string) 
Returns the requested information.

Usage

<?php get_bloginfo($show$filter); ?>

Notes

Use this function to get info on the current blog. The function get_current_site() returns information on the site.