get_pitcher_saves

Gets the number of saves for a pitcher.

Parameters

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

Returns

  • int — The number of saves for the player.

Since: 2.0

Source

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