WordPress at Your Fingertips
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_3392', 10, 3 );
function filter_function_name_3392( $proceed, $orig_w, $orig_h ){
	// filter...

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


Since 5.3.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.