get_game_stat

Gets a given team stats for a game.

Parameters

  • string $home_away — Whether to get a “home” or “away” stat.
  • string $stat — The stat to get.

Returns

  • int — The stat being searched.

Since: 2.0

Source

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