Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Syntax Syntax

WP_Posts_List_Table::_display_rows( array $posts, int $level )

Parameters Parameters


(array) (Required)


(int) (Required)

Source Source

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

			$this->_display_rows_hierarchical( $posts, $this->get_pagenum(), $per_page );
		} else {
			$this->_display_rows( $posts, $level );

	 * @param array $posts
	 * @param int   $level
	private function _display_rows( $posts, $level = 0 ) {
		$post_type = $this->screen->post_type;

		// Create array of post IDs.
		$post_ids = array();

		foreach ( $posts as $a_post ) {
			$post_ids[] = $a_post->ID;



Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.