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



manage_media_custom_column › WordPress动作钩子

Since2.5.0
已弃用n/a
do_action( 'manage_media_custom_column', $column_name, $post->ID )
参数: (2)
  • (string) $column_name Name of the custom column.
    Required: Yes
  • (int) $post_id Attachment ID.
    Required: Yes
定义在:
文档:

Fires for each custom column in the Media list table.

Custom columns are registered using the {@see 'manage_media_columns'} filter.





源码

do_action( 'manage_media_custom_column', $column_name, $post->ID );