manage_taxonomies_for_post_columns filter-hookWP 3.5.0

Filters the taxonomy columns in the Posts list table.

This is one of the variants of the dynamic hook manage_taxonomies_for_(post_type)_columns


add_filter( 'manage_taxonomies_for_post_columns', 'wp_kama_manage_taxonomies_for_post_columns_filter', 10, 2 );

 * Function for `manage_taxonomies_for_post_columns` filter-hook.
 * @param string[] $taxonomies Array of taxonomy names to show columns for.
 * @param string   $post_type  The post type.
 * @return string[]
function wp_kama_manage_taxonomies_for_post_columns_filter( $taxonomies, $post_type ){

	// filter...
	return $taxonomies;
Array of taxonomy names to show columns for.
The post type.


Since 3.5.0 Introduced.

Where the hook is called

wp-admin/includes/class-wp-posts-list-table.php 673
$taxonomies = apply_filters( "manage_taxonomies_for_{$post_type}_columns", $taxonomies, $post_type );

Where the hook is used in WordPress

Usage not found.