WordPress at Your Fingertips
function is not described

WP_List_Table::display_rows_or_placeholder() public WP 3.1.0

Generates the tbody element for the list table.

{} It's a method of the class: WP_List_Table{}

No Hooks.

Return

null. Nothing.

Usage

$WP_List_Table = new WP_List_Table();
$WP_List_Table->display_rows_or_placeholder();

Changelog

Since 3.1.0 Introduced.

Code of WP_List_Table::display_rows_or_placeholder() WP 5.8.1

public function display_rows_or_placeholder() {
	if ( $this->has_items() ) {
		$this->display_rows();
	} else {
		echo '<tr class="no-items"><td class="colspanchange" colspan="' . $this->get_column_count() . '">';
		$this->no_items();
		echo '</td></tr>';
	}
}