Filters whether to preempt the output of image_downsize() .
Returning a truthy value from the filter will effectively short-circuit down-sizing the image, returning that value instead.
$downsizebool|array
$idint
$sizestring|int[]
$out = apply_filters( 'image_downsize', false, $id, $size );
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/image_downsize