sports_bench_game_linescore
Creates the linescore table for the game.
Parameters
- string $html — The incoming HTML for the table.
- Game $game — The game object.
- Team $away_team — The team object for the away team.
- Team $home_team — The team object for the home team.
- string $sport — The sport the linescore is for.
- array $game_info — The array of information for a game.
- array|null $linescore_array — The array for the linescore if it’s baseball. It’s null if not baseball.
Returns
- string — The HTML for the linescore table.
Since: 2.0
Source
- /includes/classes/sports/baseball/baseball-games.php — 123
- /includes/classes/sports/basketball/basketball-games.php — 75
- /includes/classes/sports/football/football-games.php — 75
- /includes/classes/sports/hockey/hockey-games.php — 75
- /includes/classes/sports/rugby/rugby-games.php — 75
- /includes/classes/sports/soccer/soccer-games.php — 75
- /includes/classes/sports/volleyball/volleyball-games.php — 75