bloginfo filter-hookWP 0.71

Filters the site information returned by get_bloginfo().

Usage

add_filter( 'bloginfo', 'wp_kama_bloginfo_filter', 10, 2 );

/**
 * Function for `bloginfo` filter-hook.
 * 
 * @param mixed  $output The requested non-URL site information.
 * @param string $show   Type of information requested.
 *
 * @return mixed
 */
function wp_kama_bloginfo_filter( $output, $show ){

	// filter...
	return $output;
}
$output(mixed)
The requested non-URL site information.
$show(string)
Type of information requested.

Changelog

Since 0.71 Introduced.

Where the hook is called

get_bloginfo()
bloginfo
wp-includes/general-template.php 933
$output = apply_filters( 'bloginfo', $output, $show );

Where the hook is used in WordPress

wp-includes/default-filters.php 155
add_filter( $filter, 'wptexturize' );
wp-includes/default-filters.php 156
add_filter( $filter, 'convert_chars' );
wp-includes/default-filters.php 157
add_filter( $filter, 'esc_html' );