WordPress开发者和主题制作者的搜索引擎



attachment_fields_to_edit ›

Since2.5.0
已弃用n/a
apply_filters( 'attachment_fields_to_edit', $form_fields, $post )
参数: (2)
  • (array) $form_fields An array of attachment form fields.
    Required: Yes
  • (WP_Post) $post The WP_Post attachment object.
    Required: Yes
定义在:
文档:

Filters the attachment fields to edit.





源码

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