LLMS_Admin_Table::get_table_classes()
Returns an array of CSS class names to use on this table.
Return Return
(array)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
protected function get_table_classes() {
$classes = array(
'llms-table',
'llms-gb-table',
'llms-gb-table-' . $this->id,
);
if ( $this->is_zebra ) {
$classes[] = 'zebra';
}
if ( $this->is_large ) {
$classes[] = 'size-large';
}
/**
* Filters the CSS classes to use on the table.
*
* @since 3.34.0
*
* @param array $classes CSS class names.
* @param array $table_id Id property of this table object.
*/
return apply_filters( 'llms_table_get_table_classes', $classes, $this->id );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.34.0 | Introduced. |