sports_bench_before_rivalry_shortcode
Adds in HTML to be shown before 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 — 724
- /public/partials/shortcodes/rivalry.php — 106