image_get_intermediate_size

最后更新于:2021-11-27 00:58:31

apply_filters( ‘image_get_intermediate_size’, array $data, int $post_id, string|int[] $size )

Filters the output of image_get_intermediate_size()

参数

$data

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

$post_id

(int)
The ID of the image attachment.

$size

(string|int[])
Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).

源文件

文件: gc-includes/media.php

View on Trac