sports_bench_get_teams( $alphabetical = false, $active = true, $division_id = 0 )
Returns an array of teams.
- $alphabetical, boolean, optional, whether to list the teams in alphabetical order
- $active, boolean, optional, whether to show only active teams or all teams
- $division_id, integer, optional, the id for the division or conference to get the teams from. An id of 0 returns all teams
- array, list of all of the teams in team_id => team_name pairs
Source: team-functions.php, line 29