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



manage_taxonomies_for_attachment_columns › WordPress过滤钩子

Since3.5.0
已弃用n/a
apply_filters( 'manage_taxonomies_for_attachment_columns', $taxonomies, 'attachment' )
参数: (2)
  • (string[]) $taxonomies An array of registered taxonomy names to show for attachments.
    Required: Yes
  • (string) $post_type The post type. Default 'attachment'.
    Required: Yes
定义在:
文档:

Filters the taxonomy columns for attachments in the Media list table.





源码

$taxonomies = apply_filters( 'manage_taxonomies_for_attachment_columns', $taxonomies, 'attachment' );