A WordPress-centric search engine for devs and theme authors



manage_posts_columns ›

Since1.5.0
Deprecatedn/a
apply_filters( 'manage_posts_columns', $posts_columns, $post_type )
Parameters: (2)
  • (array) $posts_columns An array of column names.
    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 );