Returns a clean, human-readable label for the primary column’s row header.
Description
Used as the aria-label attribute value on the <th scope="row"> element, giving screen readers a concise cell name instead of computing it from the full cell content (which may include row action links, excerpts, etc.).
Subclasses should override this method to return the item’s primary identifier (e.g. post title, plugin name, username). Return an empty string to omit the attribute.
Parameters
$itemobject|arrayrequired- The current item.
Source
protected function get_primary_column_aria_label( $item ) {
return '';
}
Changelog
| Version | Description |
|---|---|
| 7.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.