apply_filters( 'image_get_intermediate_size', array $data, int $post_id, string|array $size )

Filters the output of image_get_intermediate_size()


Description Description

See also See also


Top ↑

Parameters Parameters

$data

(array) Array of file relative path, width, and height on success. May also include file absolute path and URL.

$post_id

(int) The post_id of the image attachment

$size

(string|array) Registered image size or flat array of initially-requested height and width dimensions (in that order).


Top ↑

Source Source

File: wp-includes/media.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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