On this page
apply_filters( 'manage_taxonomies_for_attachment_columns', string[] $taxonomies, string $post_type )
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
File: wp-admin/includes/class-wp-media-list-table.php. View all references
$taxonomies = apply_filters( 'manage_taxonomies_for_attachment_columns', $taxonomies, 'attachment' );
Related
Used By
| Used By | Description |
|---|---|
| WP_Media_List_Table::get_columns() wp-admin/includes/class-wp-media-list-table.php |
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/manage_taxonomies_for_attachment_columns