Documentation

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.

HockeyTeam::get_team_season_stats( $season )

Gets the team stats for a given season.

Parameters

  • string $season — The season to get the stats for.

Returns

  • array — A list of total and average team stats.

Since: 2.0

Source

  • /includes/classes/sports/hockey/hockey-team.php — 52