apply_filters( ‘manage_media_columns’, string[] $posts_columns, bool $detached )

In this article

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

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

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.