WP_Terms_List_Table::column_links

Advertisement

Syntax Syntax

WP_Terms_List_Table::column_links( WP_Term $tag )

Parameters Parameters

$tag

(WP_Term) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.