Skip to main content

Filter: dt_get_media_details

Filter media details retrieved by wp_get_attachment_metadata().

Parameters

NameTypeDescription
$metadata`arrayfalse`
$media_postint->ID The media post ID.

Source

Defined in includes/utils.php at line 861

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.