Codex

HockeyPlayer::get_goals_against_average

Returns the goals against average for a player.

Parameters

  • int $goals_allowed — The number of goals allowed.
  • int $games_played — The number of games/matches played.

Returns

  • float — The goals against average.

Since: 2.0

Source

  • /includes/classes/sports/hockey/hockey-player.php — 53