WordPress at Your Fingertips
filter is not described

icon_dir filter-hook . WP 2.0.0

Filters the icon directory path.

Usage

add_filter( 'icon_dir', 'filter_function_name_1090' );
function filter_function_name_1090( $path ){
	// filter...

	return $path;
}
$path(string)
Icon directory absolute path.

Changelog

Since 2.0.0 Introduced.

Where the hook is called

wp_mime_type_icon()
icon_dir
wp_get_attachment_image_src()
icon_dir
get_attachment_icon_src()
icon_dir
wp-includes/post.php 6687
$icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/media' );
wp-includes/media.php 962
$icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/media' );
wp-includes/deprecated.php 1915
$icon_dir = apply_filters( 'icon_dir', get_template_directory() . '/images' );

Where in WP core the hook is used WordPress

Usage not found.