bloginfo
Displays information about the current site.
Description
bloginfo( (string) $show = '' );
Parameters (1)
- 0. $show — Optional. (string) =>
''
- Site information to display. Default empty.
Usage
if ( !function_exists( 'bloginfo' ) ) { require_once ABSPATH . WPINC . '/general-template.php'; } // Optional. Site information to display. Default empty. $show = ''; // NOTICE! Understand what this does before running. $result = bloginfo($show);
Defined (1)
The function is defined in the following location(s).
- /wp-includes/general-template.php
- function bloginfo( $show = '' ) {
- echo get_bloginfo( $show, 'display' );
- }