sports_bench_game_events

Displays the events for a game.

Parameters

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

Returns

  • string — The HTML for the game events section.

Since: 2.0

Source

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