sports_bench_team_shortcode_upcoming_games

Displays the next five games for the team.

Parameters

  • string $html — The current HTML for the filter.
  • Team $team — The Team object the shortcode is for.
  • array $schedule — The array of upcoming games for the team.

Returns

  • string — The HTML to show the upcoming games for the team.

Since: 2.0

Source

  • /blocks/class-sports-bench-blocks.php — 397
  • /public/partials/shortcodes/team.php — 96