wp_image_src_get_dimensions – filter

Filters the ‘wp_image_src_get_dimensions’ value. 

Parameters

.
( 5.7.0 ) . .
$dimensions
( array|false ) Array with first element being the width and second element being the height, or false if dimensions could not be determined. . . .
( string ) $image_src The image source file. . . .
( array ) $image_meta The image meta data as returned by ‘wp_get_attachment_metadata()’. . . .
( int ) $attachment_id The image attachment ID. Default 0. . . .
API Letters: ,,,,

Implementers