Summery Summery
Filters the generated attachment meta data.
Syntax Syntax
Parameters Parameters
- $metadata
-
An array of attachment meta data.
- $attachment_id
-
Current attachment ID.
- $context
-
Additional context. Can be 'create' when metadata was initially created for new attachment or 'update' when the metadata was updated.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.3.0 | The $context parameter was added. |
2.1.0 | Introduced. |