wpseek.com
A WordPress-centric search engine for devs and theme authors



manage_taxonomies_for_attachment_columns › WordPress Filter Hooks

Since3.5.0
Deprecatedn/a
apply_filters( 'manage_taxonomies_for_attachment_columns', $taxonomies, 'attachment' )
Parameters: (2)
  • (string[]) $taxonomies An array of registered taxonomy names to show for attachments.
    Required: Yes
  • (string) $post_type The post type. Default 'attachment'.
    Required: Yes
Defined at:
Codex:

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





Source

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