apply_filters( 'attachment_fields_to_edit', array $form_fields , WP_Post $post )
Filters the attachment fields to edit.
Description Description
Parameters Parameters
Source Source
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
This is the way to add custom fields to attachments:
Expand full source codeCollapse full source code