apply_filters( 'manage_posts_columns', string[] $post_columns, string $post_type )

Filters the columns displayed in the Posts list table.

Description Description

Parameters Parameters


(string[]) An associative array of column headings.


(string) The post type slug.

Top ↑

Source Source

File: wp-admin/includes/class-wp-posts-list-table.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

  1. Skip to note 1 content
    Contributed by Imran Sayed

    Example: This will remove the author, categories, tags and comment columns from backend Posts > All Posts section.

    if ( ! function_exists( 'custom_manage_posts_column' ) ) {
    	function custom_manage_posts_column( $columns ) {
    		unset( $columns['author'] );
    		unset( $columns['categories'] );
    		unset( $columns['tags'] );
    		unset( $columns['comments'] );
    		return $columns;
    if ( has_filter( 'manage_posts_columns' ) ) {
    	add_filter( 'manage_posts_columns', 'custom_manage_posts_column' );

You must log in before being able to contribute a note or feedback.