manage_(screen_taxonomy)_custom_column хук-фильтрWP 2.8.0

Filters the displayed columns in the terms list table.

The dynamic portion of the hook name, $this->screen->taxonomy, refers to the slug of the current taxonomy.

Possible hook names include:


add_filter( 'manage_(screen_taxonomy)_custom_column', 'wp_kama_manage_screen_taxonomy_custom_column_filter', 10, 3 );

 * Function for `manage_(screen_taxonomy)_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_screen_taxonomy_custom_column_filter( $string, $column_name, $term_id ){

	// filter...
	return $string;
Custom column output.
По умолчанию: ''
Name of the column.
Term ID.

Список изменений

С версии 2.8.0 Введена.

Где вызывается хук

wp-admin/includes/class-wp-terms-list-table.php 636
return apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $item->term_id );

Где используется хук в WordPress

Использование не найдено.