apply_filters( "manage_{$post_type}_posts_columns", string[] $post_columns )

Filters the columns displayed in the Posts list table for a specific post type.


Description

The dynamic portion of the hook name, $post_type, refers to the post type slug.

Possible hook names include:

  • manage_post_posts_columns
  • manage_page_posts_columns

Parameters

$post_columns

An associative array of column headings.


Source

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

View on GitHub



Changelog

Changelog
Version Description
3.0.0 Introduced.