media_meta WordPress Filter Hook
The media_meta hook allows you to add custom fields to attachment pages. This hook is useful for adding extra data to attachments, such as credit information or copyright data. The media_meta hook is called on the attachment page after the default fields are output.
apply_filters( 'media_meta', string $media_dims , WP_Post $post ) #
Filters the media metadata.
Parameters
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |