Codex

sports_bench_standings_table

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