wordpress / latest / hooks / list_table_primary_column.html

apply_filters( 'list_table_primary_column', string $default, string $context )

Filters the name of the primary column for the current list table.

Parameters

$default string
Column name default for the specific list table, e.g. 'name'.
$context string
Screen ID for specific list table, e.g. 'plugins'.

Source

File: wp-admin/includes/class-wp-list-table.php. View all references

$column = apply_filters( 'list_table_primary_column', $default, $this->screen->id );

Changelog

Version Description
4.3.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/list_table_primary_column