Title: WP_Plugins_List_Table::display_rows
Published: April 25, 2014
Last modified: August 20, 2026

---

# WP_Plugins_List_Table::display_rows()

## In this article

 * [Source](https://developer.wordpress.org/reference/classes/wp_plugins_list_table/display_rows/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/wp_plugins_list_table/display_rows/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_plugins_list_table/display_rows/?output_format=md#changelog)

Generates the list table rows.

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_plugins_list_table/display_rows/?output_format=md#source)󠁿

    ```php
    public function display_rows() {
    	global $status;

    	if ( is_multisite() && ! $this->screen->in_admin( 'network' ) && in_array( $status, array( 'mustuse', 'dropins' ), true ) ) {
    		return;
    	}

    	foreach ( $this->items as $plugin_file => $plugin_data ) {
    		$this->single_row( array( $plugin_file, $plugin_data ) );
    	}
    }
    ```

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

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

| Uses | Description | 
| [WP_Plugins_List_Table::single_row()](https://developer.wordpress.org/reference/classes/wp_plugins_list_table/single_row/)`wp-admin/includes/class-wp-plugins-list-table.php` |

Generates the markup for a single plugin row.

  | 
| [is_multisite()](https://developer.wordpress.org/reference/functions/is_multisite/)`wp-includes/load.php` |

Determines whether Multisite is enabled.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_plugins_list_table/display_rows/?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_plugins_list_table%2Fdisplay_rows%2F)
before being able to contribute a note or feedback.