Codex

sports_bench_game_stats_info

Displays the linescore, game events, team and individual stats for a game.

Parameters

  • string $html — The current HTML for the game stats.
  • Game $game — The current game object.
  • Team $away_team — The away team oject for the away team.
  • Team $home_team — The home team oject for the home team.

Returns

  • string — The HTML for the game stats section.

Since: 2.0

Source

  • /includes/classes/base/class-display.php — 188