manage_taxonomies_for_(post_type)_columns filter-hook . WP 3.5.0
Filters the taxonomy columns in the Posts list table.
The dynamic portion of the hook name, $post_type, refers to the post type slug.
Usage
add_filter( 'manage_taxonomies_for_(post_type)_columns', 'filter_function_name_8517', 10, 2 ); function filter_function_name_8517( $taxonomies, $post_type ){ // filter... return $taxonomies; }
- $taxonomies(string[])
- Array of taxonomy names to show columns for.
- $post_type(string)
- The post type.
Changelog
Since 3.5.0 | Introduced. |
Where the hook is called
manage_taxonomies_for_(post_type)_columns
wp-admin/includes/class-wp-posts-list-table.php 639
$taxonomies = apply_filters( "manage_taxonomies_for_{$post_type}_columns", $taxonomies, $post_type );