manage_{$screen->id}_columns

Advertisement

Summery Summery

Filters the column headers for a list table on a specific screen.

Syntax Syntax

apply_filters( "manage_{$screen->id}_columns", string[] $columns )

Description Description

The dynamic portion of the hook name, $screen->id, refers to the ID of a specific screen. For example, the screen ID for the Posts list table is edit-post, so the filter for that screen would be manage_edit-post_columns.

Parameters Parameters

$columns

The column header labels keyed by column ID.

Source Source

File: wp-admin/includes/screen.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Advertisement

Leave a Reply