bloginfo_url filter-hookWP 2.0.5

Filters the URL returned by get_bloginfo().

Usage

add_filter( 'bloginfo_url', 'wp_kama_bloginfo_url_filter', 10, 2 );

/**
 * Function for `bloginfo_url` filter-hook.
 * 
 * @param string $output The URL returned by bloginfo().
 * @param string $show   Type of information requested.
 *
 * @return string
 */
function wp_kama_bloginfo_url_filter( $output, $show ){

	// filter...
	return $output;
}
$output(string)
The URL returned by bloginfo().
$show(string)
Type of information requested.

Changelog

Since 2.0.5 Introduced.

Where the hook is called

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

Where the hook is used in WordPress

Usage not found.