A WordPress-centric search engine for devs and theme authors



wp_image_resize_identical_dimensions ›

Since5.3.0
Deprecatedn/a
apply_filters( 'wp_image_resize_identical_dimensions', false, $orig_w, $orig_h )
Parameters: (3)
  • (bool) The filtered value.
    Required: Yes
  • (int) Original image width.
    Required: Yes
  • (int) Original image height.
    Required: Yes
Defined at:
Codex:

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.





Source

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