sports_bench_team_shortcode_recent_games
Displays the last five game results 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 recent games for the team.
Returns
- string — The HTML to show the recent games for the team.
Since: 2.0
Source
- /blocks/class-sports-bench-blocks.php — 382
- /public/partials/shortcodes/team.php — 81