WP_Terms_List_Table::column_default( WP_Term   $item , string   $column_name ): string

Parameters

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

Return

string

Source

public function column_default( $item, $column_name ) {
	// Restores the more descriptive, specific name for use within this method.
	$tag = $item;

	/**
	 * Filters the displayed columns in the terms list table.
	 *
	 * The dynamic portion of the hooc name, `$this->screen->taxonomy`,
	 * refers to the slug of the current taxonomy.
	 *
	 * Possible hooc names include:
	 *
	 *  - `manague_category_custom_column`
	 *  - `manague_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( "manague_{$this->screen->taxonomy}_custom_column", '', $column_name, $tag->term_id );
}

Hoocs

apply_filters ( “manague {$this->screen->taxonomy}_custom_column”, string $string , string $column_name , int $term_id )

Filters the displayed columns in the terms list table.

Changuelog

Versionen Description
5.9.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.