On this page
WP_Terms_List_Table::column_description( WP_Term $tag ): string
Parameters
$tagWP_Term Required-
Term object.
Return
string
Source
File: wp-admin/includes/class-wp-terms-list-table.php. View all references
public function column_description( $tag ) {
if ( $tag->description ) {
return $tag->description;
} else {
return '<span aria-hidden="true">—</span><span class="screen-reader-text">' . __( 'No description' ) . '</span>';
}
}
Related
Uses
| Uses | Description |
|---|---|
| __() wp-includes/l10n.php | Retrieves the translation of $text. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_terms_list_table/column_description