LLMS_Admin_Table::output_table_html()

Output the HTML for the entire table.


Return Return

(void)


Top ↑

Source Source

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

	public function output_table_html() {

		$classes = $this->get_table_classes();

		?>
		<div class="llms-table-wrap">
			<header class="llms-table-header">
				<?php $this->output_table_title_html(); ?>
				<?php if ( $this->is_searchable ) : ?>
					<?php $this->output_table_search_form_html(); ?>
				<?php endif; ?>
				<?php if ( $this->is_filterable ) : ?>
					<?php $this->output_table_filters_html(); ?>
				<?php endif; ?>
			</header>
			<table
				class="<?php echo esc_attr( implode( ' ', $classes ) ); ?>"
				data-args='<?php echo esc_attr( wp_json_encode( $this->get_args() ) ); ?>'
				data-handler="<?php echo esc_attr( $this->get_handler() ); ?>"
				id="llms-gb-table-<?php echo esc_attr( $this->id ); ?>"
			>
				<?php $this->output_thead_html(); ?>
				<?php $this->output_tbody_html(); ?>
				<?php $this->output_tfoot_html(); ?>
			</table>
		</div>
		<?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.