Codex

BaseballPlayer::get_pitcher_losses

Gets the number of losses for a pitcher.

Parameters

  • string $season — The season to check for losses.

Returns

  • int — The number of losses for the player.

Since: 2.0

Source

  • /includes/classes/sports/baseball/baseball-player.php — 112