A WordPress-centric search engine for devs and theme authors



attachment_fields_to_edit ›

Since2.5.0
Deprecatedn/a
apply_filters( 'attachment_fields_to_edit', $form_fields, $post )
Parameters: (2)
  • (array) $form_fields An array of attachment form fields.
    Required: Yes
  • (WP_Post) $post The WP_Post attachment object.
    Required: Yes
Defined at:
Codex:

Filters the attachment fields to edit.





Source

$form_fields = apply_filters( 'attachment_fields_to_edit', $form_fields, $post );