A WordPress-centric search engine for devs and theme authors



manage_{$post_type}_posts_columns ›

Since3.0.0
Deprecatedn/a
apply_filters( "manage_{$post_type}_posts_columns", $posts_columns )
Parameters:
  • (string[]) $post_columns An associative array of column headings.
    Required: Yes
Defined at:
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.





Source

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