过滤媒体列表表中附件的分类列。
原型
apply_filters( 'manage_taxonomies_for_attachment_columns', array $taxonomies, string $post_type )
参数
$taxonomies
(array)
一系列注册分类,用于显示附件。
$post_type
(string)
帖子类型。默认’附件’。
源文件
路径:wp-admin/includes/class-wp-media-list-table.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/manage_taxonomies_for_attachment_columns/