WP_Privacy_Data_Export_Requests_List_Table::get_primary_column_aria_label( WP_User_Request $item ): string

In this article

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

Description

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

Parameters

$itemWP_User_Requestrequired
Item being shown.

Return

string The user request item email.

Source

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

Changelog

VersionDescription
7.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.