WordPress at a glance
filter is not described

icon_dir filter-hook . WP 1.0

No thumb, no image. We'll look for a mime-related icon instead.

Usage

add_filter( 'icon_dir', 'filter_function_name_9584' );
function filter_function_name_9584( $get_template_directory()  /images ){
	// filter...

	return $get_template_directory()  /images;
}
$get_template_directory() /images
-

Где вызывается хук

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

Где используется хук в ядре WordPress

Использование не найдено.