WP_Terms_List_Table::column_description

Advertisement

Syntax Syntax

WP_Terms_List_Table::column_description( WP_Term $tag )

Parameters Parameters

$tag

(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