apply_filters( 'dt_get_media_details', $metadata, $media_post->ID ) → {array}
Filter media details retrieved by wp_get_attachment_metadata()
.
Parameters:
Name | Type | Description |
---|---|---|
$metadata |
array | false | Array of media metadata. |
$media_post->ID |
int | The media post ID. |
Returns:
Array of media metadata.
- Type
- array