W3cubDocs

/WordPress

WP_List_Table::display_rows()

Generates the list table rows.

More Information

This loops through the items property and renders them to the page as table rows. Generally, you don’t need to call this explicitly as it is handled automatically on display().

Source

public function display_rows() {
	foreach ( $this->items as $item ) {
		$this->single_row( $item );
	}
}

Changelog

Version Description
3.1.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_list_table/display_rows