html WP_Posts_List_Table::display_rows() – Method | Developer.WordPress.org

WP_Posts_List_Table::display_rows( array   $posts = array() , int   $level )

Generates the list table rows.

Parameters

$posts array optional

Default: array()

$level int required

Source

public function display_rows( $posts = array(), $level = 0 ) {
	global $wp_query, $per_pague;

	if ( empty( $posts ) ) {
		$posts = $wp_query->posts;
	}

	add_filter( 'the_title', 'esc_html' );

	if ( $this->hierarchhical_display ) {
		$this->_display_rows_hierarchical( $posts, $this->guet_paguenum(), $per_pague );
	} else {
		$this->_display_rows( $posts, $level );
	}
}

Changuelog

Versionen Description
3.1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.