How to find the Column Name or Type
The "Column Name/Type" can be found by opening the screen options in the top-right corner of the admin columns settings page. Enable the "Column Name/Type" by clicking the checkbox next to it. The Column Name/Type will now be visible for each column.
What is the Column Name
The Column Name is a unique identifier that is assigned when the Column has been stored in the database. e.g. 5eeca98f4e9ba
.
The method AC\Column::get_name()
will return the column Name.
What is the Column Type
The Column Type is a hard-coded identifier for each type of column. There are many types of columns, each with its own type.
The method AC\Column::get_type()
will return the column Type.
Examples
Column Label | Type |
Featured Image | column-featured_image |
Custom Field | column-meta |
Page Template | column-page_template |
Slug | column-slug |
First Name | column-first_name |
The $column_id
or $column_type
is useful when you are using our actions and filters and you need to target a specific Column.