WP_List_Table::display_rows_or_placeholder()

Generate the tbody element for the list table.


Source

File: wp-admin/includes/class-wp-list-table.php

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


Changelog

Changelog
Version Description
WP-3.1.0 Introduced.