bloginfo filter-hookWP 0.71

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 928
$output = apply_filters( 'bloginfo', $output, $show );

Where the hook is used in WordPress

wp-includes/default-filters.php 147
add_filter( $filter, 'wptexturize' );
wp-includes/default-filters.php 148
add_filter( $filter, 'convert_chars' );
wp-includes/default-filters.php 149
add_filter( $filter, 'esc_html' );