LLMS_Table_Students::get_table_filters_html()

Get HTML for the filters displayed in the head of the table


Description Description

This overrides the LLMS_Admin_Table method.


Return Return

(string)


Top ↑

Source Source

File: includes/admin/reporting/tables/llms.table.students.php

	public function get_table_filters_html() {
		$select_id = sprintf( '%1$s-%2$s-filter', $this->id, 'course-membership' );

		ob_start();
		?>
		<div class="llms-table-filters">
			<div class="llms-table-filter-wrap">
				<label class="screen-reader-text" for="<?php echo $select_id; ?>">
					<?php _e( 'Choose Course/Membership', 'lifterlms' ); ?>
				</label>
				<select data-post-type="llms_membership,course" class="llms-posts-select2 llms-table-filter" id="<?php echo $select_id; ?>" name="course_membership" style="min-width:200px;max-width:500px;"></select>
			</div>
		</div>
		<?php
		return ob_get_clean();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.31.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: