Filter: dt_get_media_details

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. false on failure.

$media_post->ID int

The media post ID.

Source:
Returns:

Array of media metadata.

Type
array