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



wp_edit_form_attachment_display ›

Since4.6.0
已弃用n/a
do_action( 'wp_edit_form_attachment_display', $post )
参数:
  • (WP_Post) $post A post object.
    Required: Yes
定义在:
文档:

Fires when an attachment type can't be rendered in the edit form.





源码

do_action( 'wp_edit_form_attachment_display', $post );