sports_bench_get_pitcher_wins( $player_id, $season )

Type

Functions

Section

Stats

Returns the number of wins for a pitcher.

Parameters

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

Returns

  • float, wins for a pitcher

Since: 1.0

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