manage_category_custom_column filter-hookWP 2.8.0

Filters the displayed columns in the terms list table.

This is one of the variants of the dynamic hook manage_(screen_taxonomy)_custom_column

Usage

add_filter( 'manage_category_custom_column', 'wp_kama_manage_category_custom_column_filter', 10, 3 );

/**
 * Function for `manage_category_custom_column` filter-hook.
 * 
 * @param string $string      Custom column output.
 * @param string $column_name Name of the column.
 * @param int    $term_id     Term ID.
 *
 * @return string
 */
function wp_kama_manage_category_custom_column_filter( $string, $column_name, $term_id ){

	// filter...
	return $string;
}
$string(string)
Custom column output.
Default: ''
$column_name(string)
Name of the column.
$term_id(int)
Term ID.

Changelog

Since 2.8.0 Introduced.

Where the hook is called

WP_Terms_List_Table::column_default()
manage_category_custom_column
wp-admin/includes/class-wp-terms-list-table.php 668
return apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $tag->term_id );

Where the hook is used in WordPress

Usage not found.