WordPress at a glance
function is not described

WP_Privacy_Data_Removal_Requests_Table::column_email() WP 4.9.6

Actions column.

This is a method of the class: WP_Privacy_Data_Removal_Requests_Table

Hooks from the method
Return

String. Email column markup.

Usage

$WP_Privacy_Data_Removal_Requests_Table = new WP_Privacy_Data_Removal_Requests_Table();
$var = $WP_Privacy_Data_Removal_Requests_Table->column_email( $item );
$item(WP_User_Request) (required)
Item being shown.

Changelog

Since 4.9.6 Introduced.

Code of WP Privacy Data Removal Requests Table::column email: wp-admin/includes/user.php WP 5.2.2

<?php
public function column_email( $item ) {
	$row_actions = array();

	// Allow the administrator to "force remove" the personal data even if confirmation has not yet been received.
	$status = $item->status;
	if ( 'request-confirmed' !== $status ) {
		/** This filter is documented in wp-admin/includes/ajax-actions.php */
		$erasers       = apply_filters( 'wp_privacy_personal_data_erasers', array() );
		$erasers_count = count( $erasers );
		$request_id    = $item->ID;
		$nonce         = wp_create_nonce( 'wp-privacy-erase-personal-data-' . $request_id );

		$remove_data_markup = '<div class="remove-personal-data force-remove-personal-data" ' .
			'data-erasers-count="' . esc_attr( $erasers_count ) . '" ' .
			'data-request-id="' . esc_attr( $request_id ) . '" ' .
			'data-nonce="' . esc_attr( $nonce ) .
			'">';

		$remove_data_markup .= '<span class="remove-personal-data-idle"><button type="button" class="button-link remove-personal-data-handle">' . __( 'Force Erase Personal Data' ) . '</button></span>' .
			'<span style="display:none" class="remove-personal-data-processing" >' . __( 'Erasing Data...' ) . '</span>' .
			'<span style="display:none" class="remove-personal-data-failed">' . __( 'Force Erase has failed.' ) . ' <button type="button" class="button-link remove-personal-data-handle">' . __( 'Retry' ) . '</button></span>';

		$remove_data_markup .= '</div>';

		$row_actions = array(
			'remove-data' => $remove_data_markup,
		);
	}

	return sprintf( '<a href="%1$s">%2$s</a> %3$s', esc_url( 'mailto:' . $item->email ), $item->email, $this->row_actions( $row_actions ) );
}