apply_filters( ‘wp_image_resize_identical_dimensions’, bool $proceed, int $orig_w, int $orig_h )

In this article

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.

Parameters

$proceedbool
The filtered value.
$orig_wint
Original image width.
$orig_hint
Original image height.

Source

$proceed = (bool) apply_filters( 'wp_image_resize_identical_dimensions', false, $orig_w, $orig_h );

Changelog

VersionDescription
5.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.