LLMS_Admin_Reporting::get_period_filters()

Retrieve an array of period filters used by self::output_widget_range_filter()


Description Description


Return Return

(array)


Top ↑

Source Source

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

	public static function get_period_filters() {
		return array(
			'today' => esc_attr__( 'Today', 'lifterlms' ),
			'yesterday' => esc_attr__( 'Yesterday', 'lifterlms' ),
			'week' => esc_attr__( 'This Week', 'lifterlms' ),
			'last_week' => esc_attr__( 'Last Week', 'lifterlms' ),
			'month' => esc_attr__( 'This Month', 'lifterlms' ),
			'last_month' => esc_attr__( 'Last Month', 'lifterlms' ),
			'year' => esc_attr__( 'This Year', 'lifterlms' ),
			'last_year' => esc_attr__( 'Last Year', 'lifterlms' ),
			'all_time' => esc_attr__( 'All Time', 'lifterlms' ),
		);
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.16.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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