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



attachment_fields_to_edit ›

Desde2.5.0
Obsoleton/a
apply_filters( 'attachment_fields_to_edit', $form_fields, $post )
Parâmetros: (2)
  • (array) $form_fields An array of attachment form fields.
    Required: Yes
  • (WP_Post) $post The WP_Post attachment object.
    Required: Yes
Definido em:
Codex:

Filters the attachment fields to edit.





Fonte

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