WP_Terms_List_Table::column_description( WP_Term $tag ): string

In this article

Parameters

$tagWP_Termrequired
Term object.

Return

string

Source

public function column_description( $tag ) {
	if ( $tag->description ) {
		return $tag->description;
	} else {
		return '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">' .
			/* translators: Hidden accessibility text. */
			__( 'No description' ) .
		'</span>';
	}
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.