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



manage_{$post_type}_posts_columns ›

Seit3.0.0
Veraltetn/v
apply_filters( "manage_{$post_type}_posts_columns", $posts_columns )
Parameter:
  • (string[]) $post_columns An associative array of column headings.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the columns displayed in the Posts list table for a specific post type.

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





Quellcode

return apply_filters( "manage_{$post_type}_posts_columns", $posts_columns );