WP_Privacy_Data_Removal_Requests_List_Table::get_primary_column_aria_label │ protected │ WP 7.1.0

Returns a clean label for the primary (Requester) column's row header aria-label.

Provides screen readers with just the item email as the row header name, preventing them from computing the name from the full cell content.

Method of the class: WP_Privacy_Data_Removal_Requests_List_Table{}

No Hooks.

Returns

string. The user request item email.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_primary_column_aria_label( $item );
$item(WP_User_Request) (required)
Item being shown.

Changelog

Since 7.1.0 Introduced.

WP_Privacy_Data_Removal_Requests_List_Table::get_primary_column_aria_label() code WP 7.1.2

protected function get_primary_column_aria_label( $item ) {
	return $item->email;
}