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_playoff_series', $html, $series, $team_one, $team_one_class, $team_one_name, $team_two, $team_two_class, $team_two_name, $game_numbers )

Displays the series for the playoff bracket.

Parameters

  • string $html — The incoming HTML for the series.
  • Series $series — The current playoff series object.
  • Team $team_one — The team object for the first team.
  • string $team_one_class — The CSS class for the first team.
  • string $team_one_name — The name of the first team.
  • Team $team_two — The team object for the second team.
  • string $team_two_class — The CSS class for the second team.
  • string $team_two_name — The name of the second team.
  • array $game_numbers — The list of possible game numbers for the series.

Returns

  • string — The HTML to display the playoff series.

Since: 2.0

Source

  • /includes/classes/base/class-bracket.php — 314, 351, 389, 427, 465, 503, 562, 599, 636, 674, 712, 771, 808, 845, 882, 919