From 7e899759589d9c7d046fd30f321b043cf0a0474b Mon Sep 17 00:00:00 2001 From: Nabil Kadimi Date: Thu, 28 Jun 2018 10:52:54 +0100 Subject: [PATCH] Add filter for season in teams event lists --- templates/team-events.php | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/team-events.php b/templates/team-events.php index 01fd9e56..e177d1f2 100644 --- a/templates/team-events.php +++ b/templates/team-events.php @@ -19,6 +19,7 @@ elseif ( 'list' === $format ) sp_get_template( 'event-list.php', array( 'team' => $id, 'league' => apply_filters( 'sp_team_events_league', 0 ), + 'season' => apply_filters( 'sp_team_events_season', 0 ), 'title_format' => 'homeaway', 'time_format' => 'separate', 'columns' => array( 'event', 'time', 'results' ),