apply_filters( 'wp_generate_attachment_metadata', array $metadata , int $attachment_id )
Filters the generated attachment meta data.
Parameters
- $metadata
-
An array of attachment meta data.
- $attachment_id
-
Current attachment ID.
Source
Changelog
Version | Description |
---|---|
WP-2.1.0 | Introduced. |