apply_filters( “manage_taxonomies_for_{$post_type}_columns”, string[] $taxonomies, string $post_type )

In this article

Filters the taxonomy columns in the Posts list table.

Description

The dynamic portion of the hook name, $post_type, refers to the post type slug.

Possible hook names include:

  • manage_taxonomies_for_post_columns
  • manage_taxonomies_for_page_columns

Parameters

$taxonomiesstring[]
Array of taxonomy names to show columns for.
$post_typestring
The post type.

Source

$taxonomies = apply_filters( "manage_taxonomies_for_{$post_type}_columns", $taxonomies, $post_type );

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.