WP_Terms_List_Table::column_links

Advertisement

Syntax Syntax

WP_Terms_List_Table::column_links( WP_Term $tag )

Parameters Parameters

$tag

(Required) Term object.

Return Return

(string)

Source Source

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

	 */
	public function column_links( $tag ) {
		$count = number_format_i18n( $tag->count );
		if ( $count ) {
			$count = "<a href='link-manager.php?cat_id=$tag->term_id'>$count</a>";
		}
		return $count;

Advertisement

Advertisement

Leave a Reply