manage_media_columns

过滤钩子


apply_filters( 'manage_media_columns', $posts_columns, $this->detached )
参数
  • (string[])
    $posts_columns
    An array of columns displayed in the Media list table.
    Required:
  • (bool)
    $detached
    Whether the list table contains media not attached
    to any posts. Default true.
    Required:
定义位置
  • wp-admin/includes/class-wp-media-list-table.php
    , line 376
引入
2.5.0
弃用

Filters the Media list table columns.

return apply_filters( 'manage_media_columns', $posts_columns, $this->detached );