apply_filters( 'wp_generate_attachment_metadata', array $metadata, int $attachment_id )

Filters the generated attachment meta data.


Description Description


Parameters Parameters

$metadata

(array) An array of attachment meta data.

$attachment_id

(int) Current attachment ID.


Top ↑

Source Source

File: wp-admin/includes/image.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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