manage_{$post_type}_posts_columns

Advertisement

Summery Summery

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

Syntax Syntax

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

Description Description

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

Parameters Parameters

$post_columns

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

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.