Skip to main content

Filter: dt_get_media_details

Filter media details retrieved by wp_get_attachment_metadata().

Parameters​

NameTypeDescription
$metadataarray|falseArray of media metadata. false on failure.
$media_postint->ID The media post ID.

Source​

Defined in includes/utils.php at line 1235

Returns​

Array of media metadata.

Ready to Get Started?

Distributor is a WordPress plugin that makes it easy to syndicate and reuse content across your websites — whether in a single multisite or across the web.