get_pitcher_wins

Gets the number of wins for a pitcher.

Parameters

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

Returns

  • int — The number of wins for the player.

Since: 2.0

Source

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