WP_Terms_List_Table::column_description
Method of the class: WP_Terms_List_Table{}
No Hooks.
Returns
String.
Usage
$WP_Terms_List_Table = new WP_Terms_List_Table(); $WP_Terms_List_Table->column_description( $tag );
- $tag(WP_Term) (required)
- Term object.
WP_Terms_List_Table::column_description() WP Terms List Table::column description code WP 6.8.3
public function column_description( $tag ) {
if ( $tag->description ) {
return $tag->description;
} else {
return '<span aria-hidden="true">—</span><span class="screen-reader-text">' .
/* translators: Hidden accessibility text. */
__( 'No description' ) .
'</span>';
}
}