The codex has been updated for Sports Bench 2.0 which is slated for an early September release. This is to help those who have made their own customizations get ready for the 2.0 release which will be radically different from a code perspective. Learn more about the changes you can expect with the code in Sports Bench 2.0.

apply_filters( 'sports_bench_baseball_innings_per_game', $innings )

Sets the number of normal innings for a game.


  • int $innings — The default number of innings per game.


  • int — The number of innings per game for your league.

Since: 2.0


  • /includes/classes/sports/baseball/baseball-team.php — 147
  • /includes/classes/sports/baseball/baseball-players.php — 130, 307
  • /includes/classes/base/class-stats.php — 331, 1218, 2401