sports_bench_individual_game_stats

Displays the individual stats table for a team in a game.

Parameters

  • string $html — The incoming HTML for the table.
  • array $stats — The array of stats to show.
  • Team $team — The team ojbect.
  • string $team_type — Whether this is the home or away team.
  • string $sport — The sport the website is using.

Returns

  • string — The HTML for the individual stats section.

Since: 2.0

Source

  • /includes/classes/sports/baseball/baseball-games.php — 174, 225
  • /includes/classes/sports/basketball/basketball-games.php — 126, 177
  • /includes/classes/sports/football/football-games.php — 137, 199
  • /includes/classes/sports/hockey/hockey-games.php — 126, 177
  • /includes/classes/sports/rugby/rugby-games.php — 126, 177
  • /includes/classes/sports/soccer/soccer-games.php — 126, 177
  • /includes/classes/sports/volleyball/volleyball-games.php — 126, 177