WP_Links_List_Table::display_rows() WordPress Method

The WP_Links_List_Table::display_rows() method is used to display the rows of a table. It takes an array of objects as its parameter.

WP_Links_List_Table::display_rows() #


Source

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

	public function display_rows() {
		foreach ( $this->items as $link ) {
			$link                = sanitize_bookmark( $link );
			$link->link_name     = esc_attr( $link->link_name );
			$link->link_category = wp_get_link_cats( $link->link_id );
			?>
		<tr id="link-<?php echo $link->link_id; ?>">
			<?php $this->single_row_columns( $link ); ?>
		</tr>
			<?php
		}
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.