sports_bench_team_stats

Displays the team stats for a game.

Parameters

  • string $html — The incoming HTML for the team stats.
  • array $events — The list of stats to show.
  • Team $away_team — The away team object.
  • Team $home_team — The home team object.
  • Game $game — The game object.
  • string $sport — The sport the website is using.

Returns

  • string — The HTML for theteam stats section.

Since: 2.0

Source

  • /includes/classes/base/class-game.php — 916