W3cubDocs

/WordPress

WP_Plugins_List_Table::display_rows()

Generates the list table rows.

Source

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 ) );
	}
}

Changelog

Version Description
3.1.0 Introduced.

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