W3cubDocs

/WordPress

apply_filters( 'media_meta', string $media_dims, WP_Post $post )

Filters the media metadata.

Parameters

$media_dims

(string) The HTML markup containing the media dimensions.

$post

(WP_Post) The WP_Post attachment object.

Source

File: wp-admin/includes/media.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/media_meta