wordpress / latest / classes / wp_list_table / single_row.html

WP_List_Table::single_row( object|array $item )

Generates content for a single row of the table.

Parameters

$item object|array Required
The current item

More Information

This echos a single item (from the items property) to the page. Generally, you don’t need to call this explicitly as it is handled automatically on display().

Source

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

public function single_row( $item ) {
	echo '<tr>';
	$this->single_row_columns( $item );
	echo '</tr>';
}

Used By

Used By Description

Changelog

Version Description
3.1.0 Introduced.

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