LLMS_Admin_Table::get_tr_html( mixed $row )
Get the HTML for a single row in the body of the table.
Parameters Parameters
- $row
-
(mixed) (Required) array/object of data describing a single row in the table
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
public function get_tr_html( $row ) { ob_start(); do_action( 'llms_table_before_tr', $row, $this ); ?> <tr class="<?php echo esc_attr( $this->get_tr_classes( $row ) ); ?>"> <?php foreach ( $this->get_columns() as $id => $title ) : ?> <td class="<?php echo $id; ?>"><?php echo $this->get_data( $id, $row ); ?></td> <?php endforeach; ?> </tr> <?php do_action( 'llms_table_after_tr', $row, $this ); return ob_get_clean(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |