WordPress at a glance
filter is not described

fallback_intermediate_image_sizes filter-hook . WP 4.7.0

Filters the image sizes generated for non-image mime types.

Usage

add_filter( 'fallback_intermediate_image_sizes', 'filter_function_name_9139', 10, 2 );
function filter_function_name_9139( $fallback_sizes, $metadata ){
	// filter...

	return $fallback_sizes;
}
$fallback_sizes(string[])
An array of image size names.
$metadata(array)
Current attachment metadata.

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

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

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

wp_generate_attachment_metadata()
fallback_intermediate_image_sizes
wp-admin/includes/image.php 570
$fallback_sizes = apply_filters( 'fallback_intermediate_image_sizes', $fallback_sizes, $metadata );

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

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