On this page
apply_filters( 'wp_image_resize_identical_dimensions', bool $proceed, int $orig_w, int $orig_h )
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
File: wp-includes/media.php. View all references
$proceed = (bool) apply_filters( 'wp_image_resize_identical_dimensions', false, $orig_w, $orig_h );
Related
Used By
| Used By | Description |
|---|---|
| image_resize_dimensions() wp-includes/media.php | Retrieves calculated resize dimensions for use in WP_Image_Editor. |
Changelog
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_image_resize_identical_dimensions