list_table_primary_column WordPress Filter Hook
The list_table_primary_column hook is used to add or remove primary columns from a list table. This hook is used by core to add the checkbox column to the Posts list table, for example.
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
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |