W3cubDocs

/WordPress

WP_Terms_List_Table::column_links( WP_Term $tag )

Parameters

$tag

(WP_Term) (Required) Term object.

Return

(string)

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;
	}

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