WordPress at a glance
filter is not described

wp_image_resize_identical_dimensions filter-hook . WP 5.3.0

Filters whether to proceed with making an image sub-size with identical dimensions with the original/source image. Differences of 1px may be due to rounding and are ignored.


add_filter( 'wp_image_resize_identical_dimensions', 'filter_function_name_4746', 10, 3 );
function filter_function_name_4746( $false, $orig_w, $orig_h ){
	// filter...

	return $false;
The filtered value.
Original image width.
Original image height.


Since 5.3.0 Introduced.

Where the hook is called

wp-includes/media.php 626
$proceed = (bool) apply_filters( 'wp_image_resize_identical_dimensions', false, $orig_w, $orig_h );

Where the hook is used (in WP core)

Usage not found!