LLMS_Admin_Table::get_tr_classes( mixed $row )
Get a CSS class list (as a string) for each TR.
Parameters Parameters
- $row
-
(mixed) (Required) Object/array of data that the function can use to extract the data.
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
protected function get_tr_classes( $row ) {
/**
* Filters the CSS class of a table row.
*
* The dynamic portion of this filter `{$this->id}` refers to the unique ID for the table.
*
* @since 3.24.0
*
* @param string $class CSS class list (as a string) for a given TR.
* @param mixed $row Object/array of data that the function can use to extract the data.
*/
return apply_filters( "llms_table_get_{$this->id}_tr_classes", 'llms-table-tr', $row );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.24.0 | Introduced. |