LLMS_Admin_Table::get_tr_html( mixed $row )

Get the HTML for a single row in the body of the table.

Parameters Parameters


(mixed) (Required) array/object of data describing a single row in the table

Top ↑

Return Return


Top ↑

Source Source

File: includes/abstracts/abstract.llms.admin.table.php

	public function get_tr_html( $row ) {
		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; ?>
		do_action( 'llms_table_after_tr', $row, $this );
		return ob_get_clean();

Top ↑

Changelog Changelog

Version Description
3.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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