Parameters
$dimensions array | false Array with first element being the width and second element being the height, or false if dimensions could not be determined. $image_src string The image source file. $image_meta array The image meta data as returned by ‘ wp_get_attachment_metadata() ‘. $attachment_id int The image attachment ID. Default 0.
Source
return apply_filters( 'wp_image_src_get_dimensions', $dimensions, $image_src, $image_meta, $attachment_id );
Changelog
| |
---|---|
| |