apply_filters( ‘manage_taxonomies_for_attachment_columns’, string[] $taxonomies, string $post_type )

In this article

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

Parameters

$taxonomiesstring[]
An array of registered taxonomy names to show for attachments.
$post_typestring
The post type. Default 'attachment'.

Source

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

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

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