Codex

get_pitcher_losses

Gets the number of losses for a pitcher.

Parameters

  • int $player_id — The id for the player.
  • string $season — The season to check for losses.

Returns

  • int — The number of losses for the player.

Since: 2.0

Source

  • /includes/classes/base/class-players.php — 284