WP_Privacy_Requests_Table::single_row() WordPress Method

This method is used to generate the row for a single privacy request in the table.

WP_Privacy_Requests_Table::single_row( WP_User_Request $item ) #

Generates content for a single row of the table,


Parameters

$item

(WP_User_Request)(Required)The current item.


Top ↑

Source

File: wp-admin/includes/class-wp-privacy-requests-table.php

	public function single_row( $item ) {
		$status = $item->status;

		echo '<tr id="request-' . esc_attr( $item->ID ) . '" class="status-' . esc_attr( $status ) . '">';
		$this->single_row_columns( $item );
		echo '</tr>';
	}


Top ↑

Changelog

Changelog
VersionDescription
4.9.6Introduced.

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.