Title: WP_List_Table::single_row
Published: April 25, 2014
Last modified: February 24, 2026

---

# WP_List_Table::single_row( object|array $item )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#parameters)
 * [More Information](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#more-information)
 * [Source](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#wp--skip-link--target)

Generates content for a single row of the table.

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#parameters)󠁿

 `$item`object|arrayrequired

The current item

## 󠀁[More Information](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#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](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-wp-list-table.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-admin/includes/class-wp-list-table.php#L1737)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/class-wp-list-table.php#L1737-L1741)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#related)󠁿

| Uses | Description | 
| [WP_List_Table::single_row_columns()](https://developer.wordpress.org/reference/classes/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 | Description | 
| [display_theme()](https://developer.wordpress.org/reference/functions/display_theme/)`wp-admin/includes/theme-install.php` |

Prints a theme on the Install Themes pages.

  | 
| [WP_List_Table::display_rows()](https://developer.wordpress.org/reference/classes/wp_list_table/display_rows/)`wp-admin/includes/class-wp-list-table.php` |

Generates the list table rows.

  | 
| [wp_ajax_add_user()](https://developer.wordpress.org/reference/functions/wp_ajax_add_user/)`wp-admin/includes/ajax-actions.php` |

Handles adding a user via AJAX.

  | 
| [wp_ajax_inline_save_tax()](https://developer.wordpress.org/reference/functions/wp_ajax_inline_save_tax/)`wp-admin/includes/ajax-actions.php` |

Handles Quick Edit saving for a term via AJAX.

  | 
| [wp_ajax_add_tag()](https://developer.wordpress.org/reference/functions/wp_ajax_add_tag/)`wp-admin/includes/ajax-actions.php` |

Handles adding a tag via AJAX.

  | 
| [wp_ajax_get_comments()](https://developer.wordpress.org/reference/functions/wp_ajax_get_comments/)`wp-admin/includes/ajax-actions.php` |

Handles getting comments via AJAX.

  | 
| [wp_ajax_replyto_comment()](https://developer.wordpress.org/reference/functions/wp_ajax_replyto_comment/)`wp-admin/includes/ajax-actions.php` |

Handles replying to a comment via AJAX.

  | 
| [wp_ajax_edit_comment()](https://developer.wordpress.org/reference/functions/wp_ajax_edit_comment/)`wp-admin/includes/ajax-actions.php` |

Handles editing a comment via AJAX.

  |

[Show 3 more](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#)
[Show less](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#)

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_list_table/single_row/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.1.0](https://developer.wordpress.org/reference/since/3.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_list_table%2Fsingle_row%2F)
before being able to contribute a note or feedback.