wp_image_resize_identical_dimensions

Advertisement

Summery Summery

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.

Syntax Syntax

apply_filters( 'wp_image_resize_identical_dimensions', bool $proceed, int $orig_w, int $orig_h )

Parameters Parameters

$proceed

The filtered value.

$orig_w

Original image width.

$orig_h

Original image height.

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.3.0 Introduced.

Advertisement

Leave a Reply