sports_bench_rivalry_shortcode_info

Displays the information about the rivalry between the two teams.

Parameters

  • string $html — The current HTML for the filter.
  • int $game — The first Game object of the rivalry.
  • Team $team_one — The team object for the first team.
  • string $team_one_name — The name fof the first team.
  • Team $team_two — The team object for the second team.
  • string $team_two_name — The name fof the second team.
  • string $series_score — The score of the series between the two teams.

Returns

  • string — HTML for the rivalry information.

Since: 2.0

Source

  • /blocks/class-sports-bench-blocks.php — 740
  • /public/partials/shortcodes/rivalry.php — 122