sports_bench_player_game_stats_table

Creates the game stats table for a player.

Parameters

  • string $html — The incoming HTML for the player.
  • array $game — The array of information for the game.
  • int $team_id — The id of the team the player was playing for.
  • string $sport — The sport the website is using.
  • array $POST — The incoming information from the AJAX call.

Returns

  • string — The HTML for the table.

Since: 2.0

Source

  • /includes/classes/sports/baseball/baseball-players.php — 211
  • /includes/classes/sports/basketball/basketball-players.php — 224
  • /includes/classes/sports/football/football-players.php — 424
  • /includes/classes/sports/hockey/hockey-players.php — 236
  • /includes/classes/sports/rugby/rugby-players.php — 172
  • /includes/classes/sports/soccer/soccer-players.php — 171
  • /includes/classes/sports/volleyball/volleyball-players.php — 188