apply_filters( ‘media_meta’, string $media_dims, WP_Post $post )

In this article

Filters the media metadata.

Parameters

$media_dimsstring
The HTML markup containing the media dimensions.
$postWP_Post
The WP_Post attachment object.

Source

$media_dims = apply_filters( 'media_meta', $media_dims, $post );

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.