Add date range selector to calendar events
This commit is contained in:
@@ -437,7 +437,8 @@ if ( !function_exists( 'sp_dropdown_dates' ) ) {
|
||||
$dates = apply_filters( 'sportspress_dates', array(
|
||||
0 => __( 'All', 'sportspress' ),
|
||||
'w' => __( 'This week', 'sportspress' ),
|
||||
'day' => __( 'Today', 'sportspress' )
|
||||
'day' => __( 'Today', 'sportspress' ),
|
||||
'range' => __( 'Date range:', 'sportspress' ),
|
||||
));
|
||||
|
||||
foreach ( $dates as $value => $label ):
|
||||
|
||||
Reference in New Issue
Block a user