sports_bench_get_pitcher_saves( $player_id, $season )

Type

Functions

Section

Stats

Returns the number of saves for a pitcher.

Parameters

  • $player_id, integer, required, the id of the player
  • $season, string, required, the season to grab the losses from

Returns

  • int, number of pitcher's saves

Since: 1.0

Source: baseball-player-info.php, line 249