On this page
apply_filters( 'manage_media_columns', string[] $posts_columns, bool $detached )
Filters the Media list table columns.
Parameters
$posts_columnsstring[]-
An array of columns displayed in the Media list table.
$detachedbool-
Whether the list table contains media not attached to any posts. Default true.
Source
File: wp-admin/includes/class-wp-media-list-table.php. View all references
return apply_filters( 'manage_media_columns', $posts_columns, $this->detached );
Related
Used By
| Used By | Description |
|---|---|
| WP_Media_List_Table::get_columns() wp-admin/includes/class-wp-media-list-table.php |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/manage_media_columns