LLMS_Admin_Table::output_tbody_html()

Output a tbody element for the table.


Return Return

(void)


Top ↑

Source Source

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

	public function output_tbody_html() {
		$data = $this->get_tbody_data();
		?>
		<tbody>
		<?php if ( $data ) : ?>
			<?php foreach ( $data as $row ) : ?>
				<?php $this->output_tr_html( $row ); ?>
			<?php endforeach; ?>
		<?php else : ?>
			<tr><td class="llms-gb-table-empty" colspan="<?php echo esc_attr( $this->get_columns_count() ); ?>"><p><?php echo esc_html( $this->get_empty_message() ); ?></p></td></tr>
		<?php endif; ?>
		</tbody>
		<?php
	}


Top ↑

Changelog Changelog

Changelog
Version Description
7.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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