sports_bench_after_rivalry_shortcode

Adds in HTML to be shown after the rivalry shortcode.

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.
  • Team $team_two — The team object for the second team.

Returns

  • string — HTML to be shown before the shortcode.

Since: 2.0

Source

  • /blocks/class-sports-bench-blocks.php — 766
  • /public/partials/shortcodes/rivalry.php — 148