The codex has been updated for Sports Bench 2.0 which is slated for an early September release. This is to help those who have made their own customizations get ready for the 2.0 release which will be radically different from a code perspective. Learn more about the changes you can expect with the code in Sports Bench 2.0.

sports_bench_get_team_season_stats( $team, $season )

Gets the season stats for a selected team.


  • Team $team — The Team object to get the season stats from.
  • string $season — The season to get the stats from.


  • array — The total and average stats for a team for the season.

Since: 2.0


  • /includes/functions/display.php — 155