Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_generate_attachment_metadata ›

Da2.1.0
Deprecaton/a
apply_filters( 'wp_generate_attachment_metadata', $metadata, $attachment_id )
Parametri: (2)
  • (array) $metadata An array of attachment meta data.
    Richiesto:
  • (int) $attachment_id Current attachment ID.
    Richiesto:
Definito a:
Codex:

Filters the generated attachment meta data.





Sorgenti

return apply_filters( 'wp_generate_attachment_metadata', $metadata, $attachment_id );