WP_Terms_List_Table::column_links() WordPress Method
The WP_Terms_List_Table::column_links() method is used to generate the links for the various columns in the terms list table. This includes the links for the checkboxes,cb,name,description,slug,posts, and links columns.
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; }
Expand full source codeCollapse full source codeView on TracView on GitHub