Used By
Used By | Description |
---|---|
wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::get_columns() |
Filters the columns displayed in the Posts list table.
(string[]) An associative array of column headings.
(string) The post type slug.
manage_posts_columns
is a filter applied to the columns shown on the manage posts screen. It’s applied to posts of all types except pages. To add a custom column for pages, hook the manage_pages_columns filter. To add a custom column for specific custom post types, hook the manage_{$post_type}_posts_columns filter.Version | Description |
---|---|
1.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/manage_posts_columns