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



manage_posts_columns › WordPress Filter Hooks

Since1.5.0
Deprecatedn/a
apply_filters( 'manage_posts_columns', $posts_columns, $post_type )
Parameters: (2)
  • (string[]) $posts_columns An associative array of column headings.
    Required: Yes
  • (string) $post_type The post type slug.
    Required: Yes
Defined at:
Codex:

Filters the columns displayed in the Posts list table.





Source

$posts_columns = apply_filters( 'manage_posts_columns', $posts_columns, $post_type );