WP_Terms_List_Table::column_default() –

You appear to be a bot. Output may be restricted

Description

Usage

$string = WP_Terms_List_Table::column_default( $item, $column_name );

Parameters

$item
( WP_Term ) required – Term object.
$column_name
( string ) required – Name of the column.

Returns

string

Source

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

1 to 20 of 20
  public function column_default( $item, $column_name ) {
    
/**
 * 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:
 *
 *  - `manage_category_custom_column`
 *  - `manage_post_tag_custom_column`
 *
 * @since 2.8.0
 *
 * @param string $string      Custom column output. Default empty.
 * @param string $column_name Name of the column.
 * @param int    $term_id     Term ID.
 */
    return apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $item->term_id );
  }
 

 View on GitHub View on Trac