Filter hook 'wp_image_resize_identical_dimensions'

in WP Core File wp-includes/media.php at line 656

Description

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.

Occurrences

Filename Line Number
wp-includes/media.php 656

Parameters

Type Name Description
bool $proceed The filtered value.
int $orig_w Original image width.
int $orig_h Original image height.

PHP Doc

/**
		 * 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.
		 *
		 * @since 5.3.0
		 *
		 * @param bool $proceed The filtered value.
		 * @param int  $orig_w  Original image width.
		 * @param int  $orig_h  Original image height.
		 */