WP_Terms_List_Table::column_description

Advertisement

Syntax Syntax

WP_Terms_List_Table::column_description( WP_Term $tag )

Parameters Parameters

$tag

(WP_Term) (Required) Term object.

Return Return

(string)

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

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.