wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_get_attachment_metadata › WordPress Filter Hooks

Since2.1.0
Deprecatedn/a
apply_filters( 'wp_get_attachment_metadata', $data, $attachment_id )
Parameters: (2)
  • () data Array of meta data for the given attachment.
    Required: Yes
  • () attachment_id Attachment post ID.
    Required: Yes
Defined at:
Codex:

Filters the attachment meta data.





Source

return apply_filters( 'wp_get_attachment_metadata', $data, $attachment_id );