sports_bench_get_game_stat

Gets a given team stats for a game.

Parameters

  • Game $game — The game object for the game.
  • string $home_away — Whether to get a “home” or “away” stat.
  • string $stat — The stat to get.

Returns

  • string — The stat being searched.

Since: 2.0

Source

  • /includes/functions/games.php — 201