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



attachment_fields_to_edit › WordPress过滤钩子

Since2.5.0
已弃用n/a
› apply_filters( 'attachment_fields_to_edit', $form_fields, $post )
参数: (2)
  • () form_fields An array of attachment form fields.
    Required: Yes
  • () 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 );