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.

Stats::get_stats_leaders( $stat, $season )

Displays a table of leaders for a stat.


  • string $stat — The stat to look for.
  • string $season — The season to look for the stat in.


  • string — Table of players for that stat.

Since: 2.0


  • /includes/classes/base/class-stats.php — 131