LLMS_Admin_Reporting::get_current_range()

Get the currently selected date range filter.


Return Return

(string)


Top ↑

Source Source

File: includes/admin/reporting/class.llms.admin.reporting.php

	public static function get_current_range() {

		return ( isset( $_GET['range'] ) ) ? llms_filter_input_sanitize_string( INPUT_GET, 'range' ) : 'last-7-days';
	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.9.0 Stop using deprecated FILTER_SANITIZE_STRING.
3.35.0 Sanitize input data.
3.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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