Add filter for season in teams event lists
This commit is contained in:
@@ -19,6 +19,7 @@ elseif ( 'list' === $format )
|
|||||||
sp_get_template( 'event-list.php', array(
|
sp_get_template( 'event-list.php', array(
|
||||||
'team' => $id,
|
'team' => $id,
|
||||||
'league' => apply_filters( 'sp_team_events_league', 0 ),
|
'league' => apply_filters( 'sp_team_events_league', 0 ),
|
||||||
|
'season' => apply_filters( 'sp_team_events_season', 0 ),
|
||||||
'title_format' => 'homeaway',
|
'title_format' => 'homeaway',
|
||||||
'time_format' => 'separate',
|
'time_format' => 'separate',
|
||||||
'columns' => array( 'event', 'time', 'results' ),
|
'columns' => array( 'event', 'time', 'results' ),
|
||||||
|
|||||||
Reference in New Issue
Block a user