Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_get_attachment_metadata ›

Desde2.1.0
Obsoleton/a
apply_filters( 'wp_get_attachment_metadata', $data, $post->ID )
Parâmetros: (2)
  • (array|bool) $data Array of meta data for the given attachment, or false if the object does not exist.
    Required: Yes
  • (int) $attachment_id Attachment post ID.
    Required: Yes
Definido em:
Codex:

Filters the attachment meta data.





Fonte

return apply_filters( 'wp_get_attachment_metadata', $data, $post->ID );