WP_Terms_List_Table::column_links( WP_Term $tag ): string

In this article

Parameters

$tagWP_Termrequired
Term object.

Return

string

Source

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

User Contributed Notes

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