Documentation

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_standings_table', $html, $teams, $division_id, $sport, $type, $items )

Displays the table for the standings table.

Parameters

  • string $html — The incoming HTML for the table.
  • array $teams — The list of teams for the table.
  • int $division_id — The id for the division. Use 0 if trying to get all teams.
  • string $sport — The sport the website is using.
  • string $type — The type of standings to get. Can use "all", "conference" or "division".
  • array $items — The array of meta items to add into the standings table, like home record, away record, etc.

Returns

  • string — The HTML for the standings table.

Since: 2.0

Source

  • /includes/classes/base/class-standings.php — 305, 361, 1964, 2028