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_team_listing_info', $html, $team_id, $team_name, $num_teams, $count )

Displays the listing information for the team.

Parameters

  • string $html — The current HTML for the filter.
  • int $team_id — The id for the team to show the listing for.
  • string $team_name — The name of the team to show the listing for.
  • int $num_teams — The number of teams that are being shown.
  • int $count — The counter for the current number of iterations for the loop (minus one).

Returns

  • string HTML for the team listing.

Since: 2.0

Source

  • /blocks/class-sports-bench-blocks.php — 60
  • /public/partials/shortcodes/team-listing.php — 54
  • /includes/functions/teams.php — 58