Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



manage_taxonomies_for_{$post_type}_columns ›

Seit3.5.0
Veraltetn/v
apply_filters( "manage_taxonomies_for_{$post_type}_columns", $taxonomies, $post_type )
Parameter: (2)
  • (string[]) $taxonomies Array of taxonomy names to show columns for.
    Erforderlich: Ja
  • (string) $post_type The post type.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the taxonomy columns in the Posts list table.

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





Quellcode

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