manage_{$this->screen->taxonomy}_custom_column WordPress Filter Hook

The manage_{$this->screen->taxonomy}_custom_column hook allows you to add custom columns to the manage taxonomy screen. This hook is fired for each custom column you add.

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

Top ↑

Parameters

$string

(string)Custom column output. Default empty.

$column_name

(string)Name of the column.

$term_id

(int)Term ID.


Top ↑

Source

File: wp-admin/includes/class-wp-terms-list-table.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.