wp_calculate_image_sizes – filter

Filters the output of ‘wp_calculate_image_sizes()’. 

Parameters

.
( 4.4.0 ) . .
( string ) $sizes A source size value for use in a ‘sizes’ attribute. . . .
$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). . . .
( string|null ) $image_src The URL to the image file or null. . . .
( array|null ) $image_meta The image meta data as returned by wp_get_attachment_metadata() or null. . . .
( int ) $attachment_id Image attachment ID of the original image or 0. . . .
API Letters: ,,,

Implementers