image_get_intermediate_size

Advertisement

Summery Summery

Filters the output of image_get_intermediate_size()

Syntax Syntax

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

Parameters Parameters

$data

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

$post_id

The post_id of the image attachment

$size

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

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

See also See also

Advertisement

Leave a Reply