W3cubDocs

/WordPress

WP_Terms_List_Table::column_description( 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_description( $tag ) {
		if ( $tag->description ) {
			return $tag->description;
		} else {
			return '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">' . __( 'No description' ) . '</span>';
		}
	}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_terms_list_table/column_description