WP_Terms_List_Table::column_links()publicWP 1.0

Метод класса: WP_Terms_List_Table{}

No Hooks.

Return

String.

Usage

$WP_Terms_List_Table = new WP_Terms_List_Table();
$WP_Terms_List_Table->column_links( $tag );
$tag(WP_Term) (required)
Term object.

Код WP_Terms_List_Table::column_links() WP 6.1.1

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