apply_filters( 'manage_taxonomies_for_attachment_columns', string[] $taxonomies, string $post_type )
Filters the taxonomy columns for attachments in the Media list table.
Parameters
- $taxonomies
-
(string[]) An array of registered taxonomy names to show for attachments.
- $post_type
-
(string) The post type. Default 'attachment'.
Source
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/manage_taxonomies_for_attachment_columns