On this page
WP_List_Table::single_row( object|array $item )
Generates content for a single row of the table.
Parameters
$itemobject|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>';
}
Related
Uses
| Uses | Description |
|---|---|
| WP_List_Table::single_row_columns() wp-admin/includes/class-wp-list-table.php | Generates the columns for a single row of the table. |
Used By
| Used By | Description |
|---|---|
| display_theme() wp-admin/includes/theme-install.php | Prints a theme on the Install Themes pages. |
| WP_List_Table::display_rows() wp-admin/includes/class-wp-list-table.php | Generates the table rows. |
| wp_ajax_add_user() wp-admin/includes/ajax-actions.php | Ajax handler for adding a user. |
| wp_ajax_inline_save_tax() wp-admin/includes/ajax-actions.php | Ajax handler for quick edit saving for a term. |
| wp_ajax_add_tag() wp-admin/includes/ajax-actions.php | Ajax handler to add a tag. |
| wp_ajax_get_comments() wp-admin/includes/ajax-actions.php | Ajax handler for getting comments. |
| wp_ajax_replyto_comment() wp-admin/includes/ajax-actions.php | Ajax handler for replying to a comment. |
| wp_ajax_edit_comment() wp-admin/includes/ajax-actions.php | Ajax handler for editing a comment. |
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