WordPress at a glance
filter is not described

image_get_intermediate_size filter-hook . WP 4.4.0

Filters the output of image_get_intermediate_size()

Usage

add_filter( 'image_get_intermediate_size', 'filter_function_name_3421', 10, 3 );
function filter_function_name_3421( $data, $post_id, $size ){
	// filter...

	return $data;
}
$data(array)
Array of file relative path, width, and height on success. May also include file absolute path and URL.
$post_id(int)
The post_id of the image attachment
$size(string/array)
Registered image size or flat array of initially-requested height and width dimensions (in that order).

Список изменений

С версии 4.4.0 Введена.

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

image_get_intermediate_size()
image_get_intermediate_size
wp-includes/media.php 851
return apply_filters( 'image_get_intermediate_size', $data, $post_id, $size );

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

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