bloginfo

Displays information about the current site.

Description

bloginfo( (string) $show = '' ); 

Parameters (1)

0. $show — Optional. (string) => ''
Site information to display. Default empty.

Usage

  1. if ( !function_exists( 'bloginfo' ) ) { 
  2. require_once ABSPATH . WPINC . '/general-template.php'; 
  3.  
  4. // Optional. Site information to display. Default empty. 
  5. $show = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bloginfo($show); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/general-template.php  
  1. function bloginfo( $show = '' ) { 
  2. echo get_bloginfo( $show, 'display' );