wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



attachment_fields_to_save › WordPress Filter Hooks

Seit2.5.0
Veraltetn/v
apply_filters( 'attachment_fields_to_save', $post, $attachment )
Parameter: (2)
  • () post An array of post data.
    Erforderlich: Ja
  • () attachment An array of attachment metadata.
    Erforderlich: Ja
Siehe:
  • wp_get_attachment_metadata()
Definiert in:
Codex:

Filters the attachment fields to be saved.





Quellcode

$post = apply_filters( 'attachment_fields_to_save', $post, $attachment );