W3cubDocs

/WordPress

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

Parameters

$tag

(WP_Term) (Required) Term object.

$column_name

(string) (Required) Name of the column.

Return

(string)

Source

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

public function column_default( $tag, $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.
		 *
		 * @since 2.8.0
		 *
		 * @param string $string      Blank string.
		 * @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, $tag->term_id );
	}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_terms_list_table/column_default