LLMS_Admin_Reporting::get_period_filters()
Retrieve an array of period filters used by self::output_widget_range_filter().
Return Return
(array)
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' ), ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |