icon_dir_uri filter-hookWP 2.0.0

Filters the icon directory URI.

Usage

add_filter( 'icon_dir_uri', 'wp_kama_icon_dir_uri_filter' );

/**
 * Function for `icon_dir_uri` filter-hook.
 * 
 * @param string $uri Icon directory URI.
 *
 * @return string
 */
function wp_kama_icon_dir_uri_filter( $uri ){

	// filter...
	return $uri;
}
$uri(string)
Icon directory URI.

Changelog

Since 2.0.0 Introduced.

Where the hook is called

wp_mime_type_icon()
icon_dir_uri
wp-includes/post.php 6914
$icon_dir_uri = apply_filters( 'icon_dir_uri', includes_url( 'images/media' ) );

Where the hook is used in WordPress

Usage not found.