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.

apply_filters( 'sports_bench_game_stats_info', $html, $game, $away_team, $home_team )

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


  • 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.


  • string — The HTML for the game stats section.

Since: 2.0


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