wpseek.com
A WordPress-centric search engine for devs and theme authors



manage_{$post_type}_posts_columns › WordPress Filter Hooks

Since3.0.0
Deprecatedn/a
apply_filters( "manage_{$post_type}_posts_columns", $posts_columns )
Parameters:
  • (string[]) $posts_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.

Possible hook names include:

  • manage_post_posts_columns
  • manage_page_posts_columns




Source

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