apply_filters( "manage_{$this->screen->taxonomy}_custom_column", string $string , string $column_name , int $term_id )
Filters the displayed columns in the terms list table.
Description
The dynamic portion of the hook name, $this->screen->taxonomy
, refers to the slug of the current taxonomy.
Possible hook names include:
manage_category_custom_column
manage_post_tag_custom_column
Parameters
- $string
-
(string) Custom column output. Default empty.
- $column_name
-
(string) Name of the column.
- $term_id
-
(int) Term ID.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Suppose you have a custom taxonomy called “genre”, replace
{$this->screen->taxonomy}
with the name of the custom taxonomy i.e. “genre”The sample below is for adding the column title in the same taxonomy.