manage_(post_type)_posts_columns filter-hook . WP 3.0.0
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.
Usage
add_filter( 'manage_(post_type)_posts_columns', 'filter_function_name_4361' ); function filter_function_name_4361( $post_columns ){ // filter... return $post_columns; }
- $post_columns(string[])
- An associative array of column headings.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
manage_(post_type)_posts_columns
wp-admin/includes/class-wp-posts-list-table.php 693
return apply_filters( "manage_{$post_type}_posts_columns", $posts_columns );