Summery Summery
Filters the returned ID of an uploaded attachment.
Syntax Syntax
Description Description
The dynamic portion of the hook name, $type
, refers to the attachment type, such as ‘image’, ‘audio’, ‘video’, ‘file’, etc.
Parameters Parameters
- $id
-
Uploaded attachment ID.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |