sports_bench_rivalry_shortcode_recent_game

Displays the most recent games between the two teams.

Parameters

  • string $html — The current HTML for the filter.
  • arrray $games — The list of games between the teams.
  • Team $team_one — The team object for the first team.
  • Team $team_two — The team object for the second team.

Returns

  • string — HTML for the recent games table.

Since: 2.0

Source

  • /blocks/class-sports-bench-blocks.php — 753
  • /public/partials/shortcodes/rivalry.php — 135