WP_Privacy_Requests_Table::single_row()publicWP 4.9.6

Generates content for a single row of the table,

Метод класса: WP_Privacy_Requests_Table{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WP_Privacy_Requests_Table = new WP_Privacy_Requests_Table();
$WP_Privacy_Requests_Table->single_row( $item );
$item(WP_User_Request) (обязательный)
The current item.

Список изменений

С версии 4.9.6 Введена.

Код WP_Privacy_Requests_Table::single_row() WP 6.4.3

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>';
}