sports_bench_team_roster_table

Creates the table for the team’s roster.

Parameters

  • string $html — The incoming HTML for the filter.
  • array $players — The list of players for the roster.
  • int $team_id — The id of the team the roster is for.

Returns

  • string — The HTML for the table.

Since: 2.0

Source

  • /includes/classes/base/class-teams.php — 539