WP_Users_List_Table::display_rows

Advertisement

Summery Summery

Generate the list table rows.

Syntax Syntax

WP_Users_List_Table::display_rows()

Source Source

File: wp-admin/includes/class-wp-users-list-table.php

	public function display_rows() {
		// Query the post counts for this page.
		if ( ! $this->is_site_users ) {
			$post_counts = count_many_users_posts( array_keys( $this->items ) );
		}

		foreach ( $this->items as $userid => $user_object ) {
			echo "\n\t" . $this->single_row( $user_object, '', '', isset( $post_counts ) ? $post_counts[ $userid ] : 0 );
		}
	}

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply